patch for 2.94 , remove comments in media headers

I had a failure where this appeared in the HCL stream:

## Created with Unified Streaming Platform(version=1.7.9)

This caused an error at line 7099.

The attached patch(against 2.94) sidesteps this parse noise, although someone who actually knows the source might want a nicer solution.

Attached Files
.txt   patch-29JUN2015.txt (Size: 425 bytes / Downloads: 195)
You didn't patch 2.94 (must be an old version), nor do you need to. And FWIW, your patch wouldn't have the desired effect. You only want to skip comments, not exit the function.

EDIT: Remove statement that single hash symbol is comment leader
My bad: Double hash symbol is indeed the comment leader in these files. However, there may be other commands (begin with single hash symbol) that should also be ignored.
Empirically it avoided the error, but of course inelegant.

The version was from get_iplayer-2.94-1.1.src.rpm, but I manually built/installed.

Thank you for looking into that.
Where did you get that RPM? Your patch shows it is missing the fix for this particular problem in 2.94. so something has gone wrong somewhere.

Possibly Related Threads…
Thread Author Replies Views Last Post
  get-iplayer snap cannot write in /media unless "removable-media" interface connected GF3 7 4,384 16-01-2019, 08:04 PM
Last Post: dinky
  How do I remove v2.94 and where do I find v3.01 to install? Richard_42 9 9,388 23-06-2017, 09:54 AM
Last Post: Richard_42