These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

WARNING: Failed to download programme schedule

Pages: 1 2 3

user-637

Hello,

Okay, I am beginning to understand.

I am able to update the TV / Radio cache files using the alternative code.

/threa...ml#pid1509

But, then as you say the download of the program using get_iPlayer fails when trying to download the programme metadata XML files:


get_iplayer Output:

WARNING: Could not download programme metadata from http://www.bbc.co.uk/programmes/p03cgkp2.xml

ERROR: Failed to get version pid metadata from iplayer site


So, I can attach the updated tv.cache file. But, I guess that this will not help anyone else here.

Thank you for the help.

Tiiveni.

tv.zip

user-1141

Same problem here. Was OK around 7am (UK) Wed 13 Jan 2016, but not working tonight. Good luck with finding a fix DP.

user-585

Is there a simple change that would use the .JSON playlists for now?

user-888

May i ask is there auy way we can force a download as i need to get a few shows that expire at the weekend i know your working on a patch but would be able to temporary release a new version just so we get it working and so we have a temp fixed version until the next version is fully patched

thank you user-2

user-1143

You're a frickin' star Dinky.

user-585

It seems that GiP isn't even trying to use the JSON playlists. Any idea why?

user-965

While browsing a pid via google's cache, I happened upon this little bit of JS.



Code:
{ var idCookieInstance = idCookie.getInstance(); /* Timestamp in milliseconds for the 6am on 27th of October 2015 */ var timestamp27thOct = 1445925600000; /* Only select users who signed in before the dooms day and were not downgraded yet */ if (idCookieInstance.hasCookie() && idCookieInstance.timestamp != '' && parseInt(idCookieInstance.timestamp) > 0 && parseInt(idCookieInstance.timestamp) < timestamp27thOct && !idCookieInstance.isDowngraded()) { /* iPlayer uplift is session cookie, so downgrade based on this cookie missed 20% users. To cover all the users with our fix, ut is nor uncoditional: all users that have not been downgraded before will now be downgraded */ idCookieInstance.downgrade(); } } }); </script>

Is there something special about 27Oct2015? And who are the 20% of users they couldn't cull...?

user-1148

I am glad to see it's not just me getting the error messages. How soon could there be a fix to this issue ? I have enjoyed get iplayer for about 2 months but I understand why the BBC would want to stop it. I mainly wanted it for Season 3 of The Bridge and I have the blu ray and dvd of Season 3 of The Bridge. I knew it was too good to be true.

user-2

Partially-patched version posted:

EDIT: URL removed

user-965

Hi Dinky,

Quick work,  and verified working ;-)

For the schedules, this seems to collect the right data from a former thread, by scraping the website. This would be ripe for some optimisation, by checking existing entries!

update tv and radio pids

If you are using linux, make sure you change "Env{HOME}" to "ENV{HOME}" in the perl script.

user-1042

I can confirm that the patched version works for radio.

A radio programme downloaded via PVR produced the following output.

http://pastebin.com/u2hvFH3J

Many thanks Dinky!

user-991

Thanks for your reply on Wednesday tvfan.

Thanks for all your work Dinky but I'm afraid your patch or what I need to do to install it is a bit beyond me although it's probably kids stuff to the people I've seen commenting on here lol
I installed get_iplayer after coming across it by accident in March 2015 & from memory I downloaded the zipped file & did it that way on my Windows 7 Laptop. At a later point I kept on getting download problems with regular error messages regarding rtmpdump. So this time I installed it on a different Laptop that has Win 8.1 but using the Windows installer & consequently I now have get_iplayer 2.94. I was brought up using DOS from about Ver 3 upwards & so I use the CLI when using get_iplayer & I copy the URL from the BBC iPlayer site. Now I've had some batch file experience in the past & I know how to insert commands into existing files using a text editor. So after all that introduction I'm at a bit of a loss on the instructions for the temporary patch that Rinky Dinky has created. So if anybody has any instructions in a bit more laymans terms I would be gratreful.
Thanks.

user-991

And here is something if it means anything to anybody. I tried recording BBC 1 live on Wednesday evening & it started off with some errors (as seen below) & it seemed to record & then froze. So when I exited the DOS window I had a recording 3min 17secs long but when I played it the recording was OK for the first 7secs & then the picture froze for 50secs before it played normal again for 7-8secs & then the picture froze for the remaining of the recording.
Anyway, here is the copy of the errors at the CLI of the recording.

C:\Program Files (x86)\get_iplayer>get_iplayer --type=livetv --get "BBC One"
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.

Matches:
80006: BBC One - live

INFO: 1 Matching Programmes
WARNING: Could not parse f4m chunklist: http://vs-hds-uk-live.edgesuite.net/pool
_4/live/bbc_one_hd/bbc_one_hd.isml/bbc_one_hd-audio_1%3D128000-video%3D2000000.f
4m: File does not exist: at get_iplayer.pl line 7077.
.
WARNING: Could not parse f4m chunklist: http://vs-hds-uk-live.edgesuite.net/pool
_4/live/bbc_one_hd/bbc_one_hd.isml/bbc_one_hd-audio_1%3D128000-video%3D3500000.f
4m: File does not exist: at get_iplayer.pl line 7077.
.
WARNING: Could not parse f4m chunklist: http://vs-hds-uk-live.bbcfmt.vo.llnwd.ne
t/pool_4/live/bbc_one_hd/bbc_one_hd.isml/bbc_one_hd-audio_1%3D128000-video%3D200
0000.f4m: File does not exist: at get_iplayer.pl line 7077.
.
WARNING: Could not parse f4m chunklist: http://vs-hds-uk-live.bbcfmt.vo.llnwd.ne
t/pool_4/live/bbc_one_hd/bbc_one_hd.isml/bbc_one_hd-audio_1%3D128000-video%3D350
0000.f4m: File does not exist: at get_iplayer.pl line 7077.
.
INFO: Checking existence of default version
INFO: hlsvhigh1,hlsvhigh2,hlshigh1,hlshigh2,hlsstd1,hlsstd2,hlslow1,hlslow2 mode
s will be tried for version default
INFO: Trying hlsvhigh1 mode to record livetv: BBC One - live
INFO: File name prefix = BBC_One_live_2016-01-13_20_11_27
frame= 13 fps=0.0 q=0.0 size= 0kB time=00:00:00.44 bitrate= 0.0kbits/s
frame= 24 fps= 24 q=0.0 size= 0kB time=00:00:01.00 bitrate= 0.0kbits/s
frame= 42 fps= 28 q=0.0 size= 0kB time=00:00:01.62 bitrate= 0.0kbits/s
frame= 42 fps= 15 q=0.0 size= 0kB time=00:00:01.64 bitrate= 0.0kbits/s

etc, etc until it froze with the following lines on screen before I exited.

frame= 156 fps=2.4 q=21.0 size= 950kB time=00:00:06.29 bitrate=1237.0kbits/
frame= 159 fps=2.4 q=20.0 size= 975kB time=00:00:06.29 bitrate=1269.7kbits/
frame= 160 fps=2.4 q=21.0 size= 984kB time=00:00:06.31 bitrate=1276.6kbits/
frame= 163 fps=2.4 q=20.0 size= 1008kB time=00:00:06.48 bitrate=1273.4kbits/
frame= 165 fps=2.4 q=20.0 size= 1030kB time=00:00:06.48 bitrate=1301.5kbits/
s dup=1 drop=0

user-1153

For Windows users, you need to replace 2 files in your "C:\Program Files\get_iplayer" directory (assuming you did not change the default installation directory).  The 2 files are:

1. get_iplayer.cgi
2. get_iplayer.pl

Find these 2 files in the directory, and rename them to whatever you wish, for example "get_iplayer.cgi-OLD" and "get_iplayer.pl-OLD"; in case things go wrong, you can always restore the original files.

Then, download the attachment below, and unzip it.  You will have 2 files:
1. get_iplayer.cgi
2. get_iplayer.pl

Copy these 2 new files into the get_iplayer installation directory at "C:\Program Files\get_iplayer", open up the DOS command line and you're good to go.  For what it's worth, I'm using a command such as:

get_iplayer --pid=<program PID number> --tvmode=<your preferred resolution>

This works as of the time of this post.  To get a program's PID, look at your browser's address bar once you have navigated to the program you wish to download.  It will look something like this - "http://www.bbc.co.uk/iplayer/episode/b06vjblv/bbc-london-news-13012016"

The PID for this program is b06vjblv, so you substitute this for <program PID number> in the command above.

Hope this helps.

get_iplayer-temp-fix.zip

user-1005

(13-01-2016, 09:43 PM)It appears that the BBC has killed get_iplayer (again). They have removed all the data sources used by get_iplayer, not just the XML schedule data.  As you have seen, you can neither download directly via --pid nor refresh your TV programme cache to perform searches. The radio cache will refresh, but downloads fail. There is no workaround for these problems - changes to get_iplayer will be necessary to restore functionality. I will wait a day or two to see what else the BBC destroys, and then make some kind of patched release over the weekend.

user-109

Just ran dev version on Ubuntu using the --pid option and it successfully downloaded a radio programme which failed yesterday. Thanks Dinky!

user-1152

I've also managed to get the Windows version of get_iplayer working again for PID's and have downloaded TV & Radio programmes a few minutes ago
Many Thanks to user-2 for creating this development version, described here:    
    https://squarepenguin.co.uk/wiki/gipdev/
- The instructions there seemed to be for Linux (especially the linked manual installation instructions).

But I pasted the CLI version webaddress:
    https://raw.github.com/get-iplayer/get_i...et_iplayer
into a browser tab and saved the perl script.
I then renamed this saved file (get_iplayer) to add a '.pl' file extension to the name and copied it to my C:\Program Files\get_iplayer folder (after first renaming the existing version there, by adding .OLD to its name, as above).

So now have it working using PID's

I had previously tried following the instructions here:
   /threa...ml#pid1509
to download and rename the two perl/command files and after removing the .txt suffix, launched the command one to try and rebuild the tv.cache file under the current user profile.
This webscraper did appear to work, finding lots of PID's and Index descriptions and resulted in a much larger (>1MByte) tv.cache file. But when I launched get_iplayer again, it gave an error about not being able to find ' ' in the cache and it didn't try to look for the index feeds at the BBC website anymore. Also, it didn't find anything in the cache when typing a programme name after get_iplayer, as I normally do. e.g. 'get_iplayer one' which I had expected to work even though get_iplayer itself couldn't find current index lists.

I also tried replacing the cache files with those from the above tv.zip attachment from Tiiveni.
get_iplayer would now search for the Index feeds again, giving the errors as before. But again
it didn't find anything in the cache when typing a programme name after get_iplayer, as before.

It looks like get_iplayer is deleting the contents of these tv.cache files - presumably when looking for the index feeds at the bbc website, as I have noticed their size is now back down to 1kB

Any ideas to make get_iplayer work again using Index searching from updated webscraped  cache files? (Including with the updated get_iplayer.pl interim-fixed dev version perl script)

user-2

It appears that the BBC have restored the data sources used by get_iplayer, at least for now. If you are thinking of using the development version referenced earlier, check your installation of 2.94 first.  If it is working normally, do not update to the development version. If you have already updated, you should be able to revert back to 2.94.

EDIT: patches have been removed from development version, so if 2.94 breaks again, await further instructions.

user-1005

Thank you very much for your efforts. I updated my installed version of 2.94 with the new get_iplayer.pl and cgi files and I did not revert back to the old versions yet, and my downloads appear to be working just fine. Is it ok to leave the newer pl and cgi files in place or should I revert back to the old? Many thanks, A

user-991

lol lol
Thank you very much wr8112 for your time & help & ultimately Dinky. I did what you said above by copying the files. After that & then trying to download a programme using the CLI it was slow & wouldn't work properly. So I had to reboot my Laptop because maybe with my messing with my Laptop earlier after this problem, I may have done something for this to happen as I updated Perl to 64bit version on my PC & also ffmpeg to 64bit as well. So after the reboot I do what I normally do with the CLI using the URL copied from the BBC iPlayer website & all was working as before, Yipee! lol lol
And then I came on here not long ago to say my thanks & then I saw Dinky's comment saying that the BBC site is back to normal lol
So we are all happy now lol

And wr8112, this is what I use at the command prompt,

get_iplayer --url http://www.bbc.co.uk/iplayer/episode/b06...n-13012016
Pages: 1 2 3

These forums are archived

See this post for further info