For instructions on how to install get_iplayer, check out this blog.
In June 2013, BBC iPlayer changed to use SWF Verification (see this post for more information), If you haven't already you need to setup the certificate by running.
get_iplayer has 2 methods of telling it what options you want to use:
Passing them on the command line
Setting preferences which get_iplayer then uses as defaults using the -pref--add command
I found setting preferences to be really useful otherwise every time you want to run get_iplayer your command is going to be VERY long.
The options I set up were:
- set the default types to search as tv and radio
- set the cache expiry time to 1 hour (its 4 by default)
- output downloads to a specific directory
- output radio downloads to a specific directory
- output to series sub-directories (e.g. all episodes of one series in one sub-directory)
- format file-names to use a simpler naming structure and include the series and episode as S00E00
NOTE - preferences are user specific, so if you use get_iplayer as root, remember to set preferences logged in as root or use sudo.
Web User Interface
I am using get_iplayer's web user interface which is really easy to use and can be run with a simple command, allowing you to search, queue and record programmes from a web browser.
If you are going to run the Web UI as a daemon (background task) you can do so by adding an & to the end of the command, but it would also be worth logging to a file as the applicatio produces a LOT of output messages.
I am using get_iplayer's PVR functions to allow me to record complete series of programmes. Using the Web UI, I can search for a programme then use the 'queue' or 'add series' command, then when get_iplayer is called using the --pvr option is searches for all my series' or queued downloads and downloads them all at once and by scheduling this to run periodically I could automate the download process.