These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

get_iplayer 2.94 unable to get a radio programme by PID (Mint 17)

user-936

I see that the BBC have broken listing feeds, but in the release notes for 2.93, "For the moment, radio listing feeds are unaffected". But it does not seem so on my machine.

Could this be a new outside-UK restriction? Previously, TV iplayer was restricted to UK IP addresses, but the rest of the world (like me) could get radio. I do that. But it seems to have stopped working.

For example:
Code:
$ ./get_iplayer --type=radio --pid=b01ghlh2 -o gip_dir
get_iplayer v2.94, Copyright (C) 2008-2010 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
  This is free software, and you are welcome to redistribute it under certain
  conditions; use --conditions for details.

INFO Trying to stream pid using type radio
INFO: pid found in cache
Matches:
12897:    The Jason Byrne Show: Series 2 - Animals, BBC Radio 4 Extra,

INFO: 1 Matching Programmes
WARNING: Please download and run latest installer or install the XML::Simple Perl module for more accurate programme metadata.
ERROR: Failed to get version pid metadata from iplayer site





I am using Linux Mint 17.1 with get_iplayer 2.94 downloaded from ftp://ftp.infradead.org/pub/get_iplayer/....94.tar.gz
I just extracted get_iplayer and run that.

Am I doing something dumb, or am I just locked out?

Thanks

user-2

Install the XML::Simple Perl module. Read the installation guide in the wiki.

user-936

Thank you, and sorry to have wasted your time!

I had installed libxml-libxml-simple-perl, which seemed to match what it says in
https://github.com/get-iplayer/get_iplay...stallation
-> https://github.com/get-iplayer/get_iplayer/wiki/manual
but it didn't change the message about installing XML::Simple. But I only used the URL option, and it still worked fine (until this week) so I didn't worry about that message.

I also ran
Code:
cpanm LWP MP3::Info MP3::Tag Authen::SASL Net::SMTP::SSL Net::SMTP::TLS::ButMaintained XML::Simple
and it didn't make a difference, but what fixed it was:

Code:
eval
perl -I ~/perl5/lib/perl5 -Mlocal::lib`
echo 'eval
Code:
perl -I ~/perl5/lib/perl5 -Mlocal::lib
' >> ~/.profile`

The drought is now over... until the next one.

user-2

That wasn't the correct package. You needed libxml-simple-perl. They haven't done you any favours with the package naming. In general, Mint users should follow the Ubuntu/Mint installation instructions in the wiki. Even if you are later required to update the get_iplayer script itself for some reason, all the dependencies will be taken care of. The PPA is kept up to date, though, so that shouldn't be the case.

These forums are archived

See this post for further info