New radio PIDs

Vangelis forthnet northmedia1 at the.forthnet.gr
Sat Aug 12 22:30:57 PDT 2017


 On Sun, Aug 13th 2017, Support Forum member "cje768" wrote:

https://squarepenguin.co.uk/forums/thread-1476-post-6567.html#pid6567

 As things stand, GiP expects every valid 8-character alphanumeric PID 
string
to begin with either "b0" or "p0".

 New radio PIDs like "w3csv1y9" or "w3csvnyc", beginning with "w3",
are discarded as invalid, hence GiP does not retrieve any streamdata
for those... :-(

 I am not a regex/perl specialist (quite the opposite, major dunce!),
but in my local copy of get_iplayer 3.01-windows.0 I replaced
every instance of

[bp]0[a-z0-9]{6}

with

[bpw][a-z0-9]{7}

and was thus able to fetch --pid=w3csv1y9;
still unsure as to whether other aspects of GiP
are broken by the above patch...
A stopgap solution, I guess...
(You can't teach an old dog new tricks,
or so the saying goes... Am afraid too old
to pick up learning perl from scratch :-( )

Happy Sunday, all!
Vangelis. 




More information about the get_iplayer mailing list