Oct 07 2008
You can now install and update get_iplayer using DEB and RPM packages for Linux. I’ve tried to keep them as generic as possible so the RPMs will most likely work just fine on all Redhat/Fedora derived Linux distributions. Same goes for the DEB packages on all Debian derived distros such as Ubuntu.
Please let me know if there are any problems with these.
Note that the –upgrade option of get_iplayer is probably not the best idea if you choose to use RPM and DEB versions.
Tags: bbc, deb, debian, fedora, get_iplayer, iplayer, Linux, packages, redhat, rpm, ubuntu
Filed in iplayer, Linux | linuxcentre | Comments (5)
Oct 01 2008
Ever wanted to automatically download your favourite BBC iPlayer programmes and podcasts? Well now get_iplayer v0.84 can act as a quite sophisticated PVR.
It allows you to download any number of iPlayer / podcast programmes using any combination of search terms that you would normally run on the get_iplayer command line. This includes searching by channel, category, version(i.e. Signed or Default), date added, programme name, episode name, description etc.
The PVR searches are saved in ~/.get_iplayer/pvr/. You can Add, Delete and List the PVR searches. You’ll need to run a single command from a scheduler such as the Unix cron daemon (or possibly
the Windows scheduler).
Examples of usage are as follow:
Read more »
Sep 29 2008
At long last I have included proper support of programmes that are signed in get_iplayer v0.83, i.e. those in the ‘Sign Zone’ category of the BBC iPlayer TV. You can now search for programmes based on their version; The version can be one of many different types. Most are default and a good few are signed. If you want to list just the programmes that are signed then use this:
get_iplayer –versions=signed
You can also specify that a signed version of a programme be downloaded in preference to a default (i.e. not signed) programme by changing the versions preference list as follows:
get_iplayer –version-list=signed,default –get <search term(s)>
Also, if you prefer not to have any signed programmes downloaded you can specify that only default programme versions are downloaded as follows:
get_iplayer –version-list=default –get <search term(s)>
Sep 24 2008
It was discovered this evening that the iPhone can get BBC iPlayer radio programmes in higher quality MP3 format. It basically uses the same method used for the iPhone video downloads. get_iplayer v0.74 now supports this fully and can also fallback to RealAudio format for those shows that still have not been made available to the iPhone. The MP3s are 128kbps stereo 44.1kHz – better than the rather sad 64kbps realaudio streams we had before. Shame there are no ID3 tags yet – come on BBC 
For reverting to downloading the realaudio streams in get_iplayer you must use the –amode=realaudio option.
Other New features in get_iplayer lately are:
- A download history is now maintained which prevents the accidental re-downloading of programmes that you may have deleted
- Ability to see which programmes have become available since the last cache refresh
- The –since option which allows you to see programmes added to the cache since a number of hours ago
- The –list [channel|categories] option which displays a unique list of categories and channels for the specified type of programme
Try using the get_iplayer –help option to see all new options.
Update v0.75:
- get_iplayer will now automatically try to download the MP3 radio stream and then fallback on RealAudio streams.
- In radio mode –amode=realaudio option will prevent mp3 streams being downloaded
- In radio mode –amode=mp3 will ensure that no RealAudio is downloaded – i.e. it disables the default fallback to realaudio
- –force-download will make get_iplayer ignore the download history
Another update: Classical music appears to be encoded at 192kbps and speech at 80kbps.
Sep 09 2008
It would appear that the BBC have already made a stream available which looks like the one going to be used in the upcoming N96 iplayer download service. I may have jumped the BBC’s gun here slightly; I used get_iplayer to extract the media stream data for a programme and fed this to vlc (a media player) in Linux and it plays
You can even save the stream.
So far there is no need for any white-listed cookies or any User-agent spoofing.
The resolution is not as good as that of the iPhone iplayer version 320×176 compared with the iPhone’s 483×272 but at least its easier to download this one! It will certainly do for mobiles as intended.
I have put full instructions on the Beebhack wiki
I’ve released a new version of get_iplayer which makes this stream information more easily accessible. For example, you can use the following command to get the RTSP url (together with the RTMP flash urls):
get_iplayer –streaminfo 123
Then playback using:
vlc [rtsp URL]
Or save the stream using:
vlc –sout file/ts:stream.mpg [rtsp URL]
Update: I’ve had reports that the stream also works on Realplayer on at least the Nokia N95
Another update: get_iplayer can now download the N96 with the –n96 option
Update: I changes the –n96 option to –n95 (cos that is what the BBC seem to be labelling it as)
Sep 01 2008
Having recently noticed that subtitle support is now widely available on the iPlayer website, I thought I’d have a go at providing the ability for get_iplayer to download them (from version 0.61 onwards). So after some packet sniffing and perl hacking I have added subtitle support. It downloads the subtitles in W3C Timed Text format (see this post) and converts them into a more widely supported format, i.e. SubRip (.srt).
There is a rather annoying caveat though; The iPhone H.264 iplayer streams do not exactly match the flash versions; They often start a few seconds earlier which results n the subtitles being shown too early and out of sync with the audio
So, as a workaround, I’ve added an option to munge the subtitle timestamps during download to add an arbitrary offset in milliseconds 
To use this feature the program must, of course, have subtitles. You need to use the –subtitles option and optionally –suboffset nnnn, e.g:
get_iplayer –get Miller –subtitles –suboffset 3500
SubRip appears to be supported by mplayer, xine and vlc so hopefully you’ll be able to try this out.
Jul 12 2008
Good news! get_iplayer v0.46 now indexes, searches, downloads or streams all BBC podcasts. Just use the –type=podcast or –type=all option to enable this. The podcasts appear to be in either mp3 or aac format so no transcoding is required.
Jul 09 2008
Version 0.42 of get_iplayer was released today. It has some nice new features. Below is an overview of some of them:
- Channel specific atom feeds from iplayer site are now used; this has the benefit of being faster to download the indexes and (I think) gives a better indication of availability. The downside to this is that there appears to be less programmes available. Also the BBC have a bug in their feeds – they report availability date as being before the programme was even made in some cases!
- All Radio programmes are now indexed. Just use –type=all or –type=radio to enable this. These are downloaded from the RealAudio streams and transcoded to mp3 on-the-fly for ease of use and for uploading to your mp3 player.
- All configuration, cookies, named pipes and cache files are stored in $HOME/.get_iplayer/ (remember to re-save your defaults using the –save option)
- You can now exclude specific channels and categories from your searches using –exclude-channel and –exclude-category options
Jul 08 2008
The BBC iplayer Beta went live late last week. Unfortunately this broke the atom feed support in get_iplayer. As a workaround, that was released on Monday, I am now using the web scraping method again (which is slower). As a side effect of this there is no more channel and category searching support until I can find a better feed. It seems that there are JSON and RSS feeds on the iplayer site but none of these AFAIK can provide a full list of available iplayer programmes. The Apple iPhone uses a new page that relies on ajax/json. I’m investigating how this can be rolled into get_iplayer. As an extra bonus get_iplayer can now download and transcode BBC audio/radio programmes into mp3 format (with the assistance of mplayer and lame). All you need is the radio programme page URL and use the –pid option of get_iplayer.
Jun 27 2008
Thanks to the BBC’s new Atom feeds for programme availability, I’ve been able to integrate this into get_iplayer to make indexing and searching the programmes faster and more functional. You can still use the old web scraping method (–scrape) if this doesn’t work well for you
Just ensure you flush the cache when you run this version for the fist time (–flush). New functionality in the future will allow searching by channel, availability date, and category. Watch this space…