PATCH get_iplayer.cgi

Stuart Jarvis stuart.jarvis at gmail.com
Wed Nov 5 09:42:06 PST 2014


On 2014-11-05 17:22, Kapitano wrote:
> On 05/11/2014 16:54, Sharon Kimble wrote:
>> @@ -99,7 +99,7 @@ my $default_modes = 'default';
>>   $opt_cmdline->{listen} = '0.0.0.0' if ! $opt_cmdline->{listen};
>>   # Search for get_iplayer
>>   if ( ! $opt_cmdline->{getiplayer} ) {
>> -       for ( './get_iplayer', './get_iplayer.cmd', 
>> './get_iplayer.pl', '/usr/bin/get_iplayer' ) {
>> +       for ( './get_iplayer', './get_iplayer.cmd', 
>> './get_iplayer.pl', '/usr/bin/get_iplayer' 
>> '/usr/local/bin/get_iplayer' ) {
>>                  $opt_cmdline->{getiplayer} = $_ if -x $_;
>>          }
>>   }
>> 
> 
> I've probably missed something really obvious but: What does this do?

Adds an extra path to check for get_iplayer (on Linux systems - i.e. 
/usr/local/bin as opposed to just /usr/bin - which will depend on the 
distro). As it's a CGI I guess it's from the web-frontend for the PVR, 
but I've never used that nor dug into the get_iplayer code so I'm not 
sure.

It's not related to the - much discussed - recent changes by the BBC.

Aside: unusual for this to appear on the list - patches normally via 
github pull request, I guess?

Cheers,
Stu



More information about the get_iplayer mailing list