Why is '-- type radio' needed?

Chris Marriott chris at chrism.demon.co.uk
Fri Oct 16 02:28:15 PDT 2015



-----Original Message----- 
From: Vangelis forthnet 
Sent: Friday, October 16, 2015 1:52 AM 
To: get_iplayer at lists.infradead.org 
Subject: Re: Why is '-- type radio' needed? 

On Mon Oct 12 14:11:52 BST 2015, David Cantrell wrote:

>> $ get_iplayer --pid b069b676 --type radio
>>
>> PIDs are unique, so there can not be, under any circumstances, both
>> radio and TV programmes with the same PID, so there is no possible
>> ambiguity if I leave out the '--type radio'.
>
>Hello David, hope all's well with you...
>
>Yes, the undisputed fact is that the PID string is (forever) uniquely tied
>to a BBC programme, be it TV, Radio or (more recently) podcast.
>
>If you deem specifying the programme type (via --type=) when
>downloading by PID is redundant (TBH, it's a legitimate expectation),
>then you should register with SP's support forum at:
>
>https://squarepenguin.co.uk/forums/
>
>and then post a related request at the "Feature Requests" subforum:
>
>https://squarepenguin.co.uk/forums/forum-7.html
>
>Hopefully, dinkypumpkin will inform you about the
>feasibility of such a feature...
>
>As to the current behaviour in GiP 2.94:
>
>If you leave the "--type" switch out of the "equation",
>then GiP assumes it's "tv" (i.e. video-on-demand, VOD)
>AND DOES NOT TRY/SEARCH OTHER PROGRAMME
>TYPES (perhaps this behaviour could be changed
>in a future release...).

Hmmm. Curious. I download radio programmes with:

get_iplayer --mode=flashaacstd --pid=xxxxxxxxxx

No "type=" and it works just fine.

Chris




More information about the get_iplayer mailing list