BBC iPlayer/Live/Podcast/Categories Player - UPDATED June 15
Posted: Wed May 18, 2011 8:45 pm
My New Year’s resolution? I’m giving up alcohol for the whole of January 2013. For Cancer Research UK. I’m becoming a Dryathlete.
Please help me raise £100, remember every little help!
http://www.justgiving.com/dryathlete-sean-poyser
http://files.exotica.org.uk/?file=joggl ... Player.tgz
!! Audio Crackling Fix !!
If you experience audio crackling when playing on demand programs see this post:
http://www.jogglerwiki.com/forum/viewto ... 1191#p1191
-------------------------------------------------------------------------------------------------------------------------------------------------------
!! Close Button !!
If you don't get a "Close" button at the top-right when viewing streams, try extending the sleep 3 parameter to sleep 5 in the iPlayer.cgi file (near the end of the file)
If this doesn't work try sleep 10
-------------------------------------------------------------------------------------------------------------------------------------------------------
New Version (15 June 2011) now allows browsing of the 19 program categories as shown on the BBC iPlayer website:
Most Popular
Highlights (aka Featured)
Children's
Comedy
Dramas & Soaps
Entertainment
Factual
Films
Learning
Lifestyle & Leisure
Music
News
Religion
Sport
Audio Described
Signed
Northern Ireland
Scotland
Wales
The Featured and Most Popular are actually the feeds used to populate the main displays of the BBC iPlayer page.
Results from these are not sorted but are displayed in the same order they appear in the feeds themselves.
This is useful if you want to watch something but not sure what, or want to see all those programs with sign language!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have started a new thread as I considered this a fairly major update and I didn't want current users of the iPlayer to not notice it.
So whats new?
- BBC PODCAST functionality - browse and listen to all currently available BBC podcasts
- Removed live BBC HD icon (I believe this stream is inactive - if I'm wrong let me know and I'll put it back)
- All live BBC radio stations available on front screen - including Radio Norfolk, sorry but my app, my choice :-)
- Programme synopsis now shown in on demand search results, so now you can pick out the right episode of Eastenders!!
- Programme titles and synopsis wrap if necessary
- Improved mechanism for loading of RSS feeds
- Uses Black skin for iPlayer (rather than the original silver)
- New "Close" button matches iPlayer Black skin
- Informative Message displayed when a search doesn't return any programs
- Only 1 script file now necessary
- All iPlayer config_settings are now in the script file so can be edited if desired
iPlayer is an improved version of the BBC Live app (the one shipped with PNP).
The original BBC Live app was written by Darren Lee, so as always credit where credit is due.
iPlayer adds the ability to search via an on-screen keyboard through the current iPlayer programme database and play any TV or Radio Program found.
The iPlayer uses the following 20 RSS feeds to supply the searchable data:
http://feeds.bbc.co.uk/iplayer/bbc_1/list/
http://feeds.bbc.co.uk/iplayer/bbc_2/list/
http://feeds.bbc.co.uk/iplayer/bbc_3/list/
http://feeds.bbc.co.uk/iplayer/bbc_4/list/
http://feeds.bbc.co.uk/iplayer/cbeebies/list/
http://feeds.bbc.co.uk/iplayer/cbbc/list/
http://feeds.bbc.co.uk/iplayer/bbc_parliament/list/
http://feeds.bbc.co.uk/iplayer/bbc_news24/list/
http://feeds.bbc.co.uk/iplayer/bbc_alba/list/
http://feeds.bbc.co.uk/iplayer/hd/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio1/list/
http://feeds.bbc.co.uk/iplayer/bbc_1xtra/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio2/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio3/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio4/list/
http://feeds.bbc.co.uk/iplayer/radio_four_extra/list/
http://feeds.bbc.co.uk/iplayer/bbc_5live/list/
http://feeds.bbc.co.uk/iplayer/bbc_5liv ... xtra/list/
http://feeds.bbc.co.uk/iplayer/bbc_6music/list/
http://feeds.bbc.co.uk/iplayer/bbc_7/list/
iPlayer adds the ability to browse through 19 BBC TV and Radio categorized program RSS feeds:
http://feeds.bbc.co.uk/iplayer/mostpopular/list/
http://feeds.bbc.co.uk/iplayer/highlights/list/
http://feeds.bbc.co.uk/iplayer/childrens/list/
http://feeds.bbc.co.uk/iplayer/comedy/list/
http://feeds.bbc.co.uk/iplayer/soaps/list/
http://feeds.bbc.co.uk/iplayer/entertainment/list/
http://feeds.bbc.co.uk/iplayer/factual/list/
http://feeds.bbc.co.uk/iplayer/films/list/
http://feeds.bbc.co.uk/iplayer/learning/list/
http://feeds.bbc.co.uk/iplayer/lifestyl ... sure/list/
http://feeds.bbc.co.uk/iplayer/music/list/
http://feeds.bbc.co.uk/iplayer/news/list/
http://feeds.bbc.co.uk/iplayer/religion ... hics/list/
http://feeds.bbc.co.uk/iplayer/sport/list/
http://feeds.bbc.co.uk/iplayer/audiodescribed/list/
http://feeds.bbc.co.uk/iplayer/signed/list/
http://feeds.bbc.co.uk/iplayer/northern_ireland/list/
http://feeds.bbc.co.uk/iplayer/scotland/list/
http://feeds.bbc.co.uk/iplayer/wales/list/
iPlayer now also adds the ability to browse and listen to any BBC podcast currently online.
Initial Podcast data comes from:
http://www.bbc.co.uk/podcasts.opml
TV, Radio and Podcasts feeds are requested on startup of the application and normally take only a few seconds to all load (program may appear slightly unresponsive as they are loaded in), as a feed is loaded the corresponding channel icon on the iPlayer screen will light up to indicate this channel is now in the database and fully searchable, the database is recreated each time the application is restarted.
Channels to search can be switched on/off simply by clicking their icon in the iPlayer screen.
To Use:
1) To watch live TV or listen to live radio just click the appropriate icon in the main screen.
2) To search iPlayer click the iPlayer icon from the main screen (this appears as soon as one feed has loaded)
Click the input-box to bring up the keyboard, enter search term (currently it uses a simple text match), hit "Done", followed by "Find".
Click a thumbnail to play/listen to a programme.
3) To browse categories click the Categories icon from the main screen (this appears as soon as one category has loaded).
Click the category to view the programs available in that category (the number of programs in the category is shown after the name)
The first page of programs in that category will then appear, this list can then be scrolled through.
To change the page use the navigation buttons/arrows at the top of the screen
Click a thumbnail to play/listen to a programme.
4) To play podcast, click Podcast icon when it appears on the main screen, choose radio station, choose topic, finally choose podcast that you want to listen to. Currently Podcasts are played via the Google online player; if you wish this can be modified by editing the iPlayer.cgi file to use any other flash (.swf) mp3 player available online or locally installed on your joggler (this requires a webserver installed, if you have gforums PNP then you will have one, see below)
When playing a stream or podcast click the close icon in the top-right corner to return to the iPlayer interface.
To install iPlayer
If you are upgrading from a previous version, follow the installation instructions up to and including the chmod command (obviously you won't need to do the mkdir command either)
telnet into joggler, then
cd media
mkdir iPlayer
cd iPlayer
wget ftp://aero.exotica.org.uk/pub/mirrors/exotica/joggler/files/iPlayer.tgz
tar xvf iPlayer.tgz
rm iPlayer.tgz
chmod +x iPlayer.cgi (VERY IMPORTANT, this makes the file executable, without this it will NOT work)
cd
cd media/appshop
cp applications.xml applications.original (creates a backup of file, just in case...)
vi applications.xml
i (enters insert mode)
Add the following immediately before the final </applications>
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
i.e. so the end of the file looks like this:
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
</applications>
Then hit ESC followed by :x return (save and exit)
Restart joggler
NOTE the final slash at the end of the app tag, if you miss this you will get no icons on the main joggler screen!!
All media (except podcasts) are launched from the script in iPlayer.cgi using the command:
./tango "http://www.bbc.co.uk/emp/10player.swf?config_settings_bitrateFloor=0&config_settings_bitrateCeiling=10000&config_settings_guidance=passed&config_settings_skin=black&
config_settings_autoPlay=true&config_settings_transportHeight=65&playlist=http://www.bbc.co.uk/iplayer/playlist/"$app &
where $app is passed in from the iPlayer application and is the identifier for the live TV stream, live radio stream, or on demand stream, the config_settings_ can be edited by editing the iPlayer.cgi file (if you know what you are doing)!
Podcast are launched from the script in iPlayer.cgi using the command:
./tango "http://www.google.com/reader/ui/3523697345-audio-player.swf?autoPlay&audioUrl="$app &
where $app is the full URL for the MP3 podcast file.
If you would rather use a different online player then edit this line accordingly, eg
./tango "http://www.123mp3download.com/audio/includes/player.swf?playerID=1&autostart=yes&soundFile="$app &
If you would rather use a local swf player then put the swf file in the webserver directory and change the line to something along the lines of:
./tango "http://localhost:80/playerMP3.swf?mp3="$app &
For the webserver that gforums PNP installs the directory is:
/media/gforums/webserver/
So put your swf player in that directory (or a subdirectory, eg /media/gforums/webserver/starter/)
I personally use FMP3 available here http://www.enricolai.com/FMP3/
And launch it with the line:
./tango "http://localhost:80/starter/FMP3.swf?action=stop&vol=10&title="$param"&color=2f85c2&loop=no&lma=yes&textcolor=000000&mp3="$app &
Note the FMP3 player can also show the name of the Podcast, which in the script is stored in $param, hence the title="$param" bit
Hope that all makes sense!
Enjoy!
Please help me raise £100, remember every little help!
http://www.justgiving.com/dryathlete-sean-poyser
http://files.exotica.org.uk/?file=joggl ... Player.tgz
!! Audio Crackling Fix !!
If you experience audio crackling when playing on demand programs see this post:
http://www.jogglerwiki.com/forum/viewto ... 1191#p1191
-------------------------------------------------------------------------------------------------------------------------------------------------------
!! Close Button !!
If you don't get a "Close" button at the top-right when viewing streams, try extending the sleep 3 parameter to sleep 5 in the iPlayer.cgi file (near the end of the file)
If this doesn't work try sleep 10
-------------------------------------------------------------------------------------------------------------------------------------------------------
New Version (15 June 2011) now allows browsing of the 19 program categories as shown on the BBC iPlayer website:
Most Popular
Highlights (aka Featured)
Children's
Comedy
Dramas & Soaps
Entertainment
Factual
Films
Learning
Lifestyle & Leisure
Music
News
Religion
Sport
Audio Described
Signed
Northern Ireland
Scotland
Wales
The Featured and Most Popular are actually the feeds used to populate the main displays of the BBC iPlayer page.
Results from these are not sorted but are displayed in the same order they appear in the feeds themselves.
This is useful if you want to watch something but not sure what, or want to see all those programs with sign language!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have started a new thread as I considered this a fairly major update and I didn't want current users of the iPlayer to not notice it.
So whats new?
- BBC PODCAST functionality - browse and listen to all currently available BBC podcasts
- Removed live BBC HD icon (I believe this stream is inactive - if I'm wrong let me know and I'll put it back)
- All live BBC radio stations available on front screen - including Radio Norfolk, sorry but my app, my choice :-)
- Programme synopsis now shown in on demand search results, so now you can pick out the right episode of Eastenders!!
- Programme titles and synopsis wrap if necessary
- Improved mechanism for loading of RSS feeds
- Uses Black skin for iPlayer (rather than the original silver)
- New "Close" button matches iPlayer Black skin
- Informative Message displayed when a search doesn't return any programs
- Only 1 script file now necessary
- All iPlayer config_settings are now in the script file so can be edited if desired
iPlayer is an improved version of the BBC Live app (the one shipped with PNP).
The original BBC Live app was written by Darren Lee, so as always credit where credit is due.
iPlayer adds the ability to search via an on-screen keyboard through the current iPlayer programme database and play any TV or Radio Program found.
The iPlayer uses the following 20 RSS feeds to supply the searchable data:
http://feeds.bbc.co.uk/iplayer/bbc_1/list/
http://feeds.bbc.co.uk/iplayer/bbc_2/list/
http://feeds.bbc.co.uk/iplayer/bbc_3/list/
http://feeds.bbc.co.uk/iplayer/bbc_4/list/
http://feeds.bbc.co.uk/iplayer/cbeebies/list/
http://feeds.bbc.co.uk/iplayer/cbbc/list/
http://feeds.bbc.co.uk/iplayer/bbc_parliament/list/
http://feeds.bbc.co.uk/iplayer/bbc_news24/list/
http://feeds.bbc.co.uk/iplayer/bbc_alba/list/
http://feeds.bbc.co.uk/iplayer/hd/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio1/list/
http://feeds.bbc.co.uk/iplayer/bbc_1xtra/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio2/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio3/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio4/list/
http://feeds.bbc.co.uk/iplayer/radio_four_extra/list/
http://feeds.bbc.co.uk/iplayer/bbc_5live/list/
http://feeds.bbc.co.uk/iplayer/bbc_5liv ... xtra/list/
http://feeds.bbc.co.uk/iplayer/bbc_6music/list/
http://feeds.bbc.co.uk/iplayer/bbc_7/list/
iPlayer adds the ability to browse through 19 BBC TV and Radio categorized program RSS feeds:
http://feeds.bbc.co.uk/iplayer/mostpopular/list/
http://feeds.bbc.co.uk/iplayer/highlights/list/
http://feeds.bbc.co.uk/iplayer/childrens/list/
http://feeds.bbc.co.uk/iplayer/comedy/list/
http://feeds.bbc.co.uk/iplayer/soaps/list/
http://feeds.bbc.co.uk/iplayer/entertainment/list/
http://feeds.bbc.co.uk/iplayer/factual/list/
http://feeds.bbc.co.uk/iplayer/films/list/
http://feeds.bbc.co.uk/iplayer/learning/list/
http://feeds.bbc.co.uk/iplayer/lifestyl ... sure/list/
http://feeds.bbc.co.uk/iplayer/music/list/
http://feeds.bbc.co.uk/iplayer/news/list/
http://feeds.bbc.co.uk/iplayer/religion ... hics/list/
http://feeds.bbc.co.uk/iplayer/sport/list/
http://feeds.bbc.co.uk/iplayer/audiodescribed/list/
http://feeds.bbc.co.uk/iplayer/signed/list/
http://feeds.bbc.co.uk/iplayer/northern_ireland/list/
http://feeds.bbc.co.uk/iplayer/scotland/list/
http://feeds.bbc.co.uk/iplayer/wales/list/
iPlayer now also adds the ability to browse and listen to any BBC podcast currently online.
Initial Podcast data comes from:
http://www.bbc.co.uk/podcasts.opml
TV, Radio and Podcasts feeds are requested on startup of the application and normally take only a few seconds to all load (program may appear slightly unresponsive as they are loaded in), as a feed is loaded the corresponding channel icon on the iPlayer screen will light up to indicate this channel is now in the database and fully searchable, the database is recreated each time the application is restarted.
Channels to search can be switched on/off simply by clicking their icon in the iPlayer screen.
To Use:
1) To watch live TV or listen to live radio just click the appropriate icon in the main screen.
2) To search iPlayer click the iPlayer icon from the main screen (this appears as soon as one feed has loaded)
Click the input-box to bring up the keyboard, enter search term (currently it uses a simple text match), hit "Done", followed by "Find".
Click a thumbnail to play/listen to a programme.
3) To browse categories click the Categories icon from the main screen (this appears as soon as one category has loaded).
Click the category to view the programs available in that category (the number of programs in the category is shown after the name)
The first page of programs in that category will then appear, this list can then be scrolled through.
To change the page use the navigation buttons/arrows at the top of the screen
Click a thumbnail to play/listen to a programme.
4) To play podcast, click Podcast icon when it appears on the main screen, choose radio station, choose topic, finally choose podcast that you want to listen to. Currently Podcasts are played via the Google online player; if you wish this can be modified by editing the iPlayer.cgi file to use any other flash (.swf) mp3 player available online or locally installed on your joggler (this requires a webserver installed, if you have gforums PNP then you will have one, see below)
When playing a stream or podcast click the close icon in the top-right corner to return to the iPlayer interface.
To install iPlayer
If you are upgrading from a previous version, follow the installation instructions up to and including the chmod command (obviously you won't need to do the mkdir command either)
telnet into joggler, then
cd media
mkdir iPlayer
cd iPlayer
wget ftp://aero.exotica.org.uk/pub/mirrors/exotica/joggler/files/iPlayer.tgz
tar xvf iPlayer.tgz
rm iPlayer.tgz
chmod +x iPlayer.cgi (VERY IMPORTANT, this makes the file executable, without this it will NOT work)
cd
cd media/appshop
cp applications.xml applications.original (creates a backup of file, just in case...)
vi applications.xml
i (enters insert mode)
Add the following immediately before the final </applications>
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
i.e. so the end of the file looks like this:
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
</applications>
Then hit ESC followed by :x return (save and exit)
Restart joggler
NOTE the final slash at the end of the app tag, if you miss this you will get no icons on the main joggler screen!!
All media (except podcasts) are launched from the script in iPlayer.cgi using the command:
./tango "http://www.bbc.co.uk/emp/10player.swf?config_settings_bitrateFloor=0&config_settings_bitrateCeiling=10000&config_settings_guidance=passed&config_settings_skin=black&
config_settings_autoPlay=true&config_settings_transportHeight=65&playlist=http://www.bbc.co.uk/iplayer/playlist/"$app &
where $app is passed in from the iPlayer application and is the identifier for the live TV stream, live radio stream, or on demand stream, the config_settings_ can be edited by editing the iPlayer.cgi file (if you know what you are doing)!
Podcast are launched from the script in iPlayer.cgi using the command:
./tango "http://www.google.com/reader/ui/3523697345-audio-player.swf?autoPlay&audioUrl="$app &
where $app is the full URL for the MP3 podcast file.
If you would rather use a different online player then edit this line accordingly, eg
./tango "http://www.123mp3download.com/audio/includes/player.swf?playerID=1&autostart=yes&soundFile="$app &
If you would rather use a local swf player then put the swf file in the webserver directory and change the line to something along the lines of:
./tango "http://localhost:80/playerMP3.swf?mp3="$app &
For the webserver that gforums PNP installs the directory is:
/media/gforums/webserver/
So put your swf player in that directory (or a subdirectory, eg /media/gforums/webserver/starter/)
I personally use FMP3 available here http://www.enricolai.com/FMP3/
And launch it with the line:
./tango "http://localhost:80/starter/FMP3.swf?action=stop&vol=10&title="$param"&color=2f85c2&loop=no&lma=yes&textcolor=000000&mp3="$app &
Note the FMP3 player can also show the name of the Podcast, which in the script is stored in $param, hence the title="$param" bit
Hope that all makes sense!
Enjoy!