Page 3 of 3

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Thu Jul 26, 2012 9:51 pm
by marcelp1
alexeames wrote:Looks like the sequence of the sources.list edits is a lot more crucial than I thought. But delighted it's now working as it should on Raspbian. :D I've now backed up my SD card image as I had some issues getting going with Raspbian and I don't want to go there again. :lol:
Hi alexeames,

thanx for the great tutorial. Any Ideas on how to autostart the get-iplayer-web-pvr
on startup so it is running in the background on headless RPi machine and can
be controlled via the web interface "http://<IP of PI>:1935/" ?

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Fri Jul 27, 2012 5:59 am
by alexeames
I don't use it myself, but I would imagine it's a question of adding the command...

Code: Select all

perl get_iplayer.cgi --port=1935 --getiplayer=/path/to/get_iplayer
...to the startup file. I've forgotten what that's called. I'll look it up :lol:

Is it /etc/rc.local ?
I'll try it and see if it works. :?

This works. add this to rc.local before the last line exit :)

Code: Select all

perl /home/get_iplayer/get_iplayer.cgi --port=1935 --getiplayer=/home/get_iplayer/get_iplayer
I believe I read somewhere that this browser based pvr should not be web facing, as it's not very secure, so not a good idea to run it if you are using your pi as a web server. :o

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Sun Jul 29, 2012 10:02 am
by mikerr
Just for grins I tried streaming...

Video is obviously not up to much:

Code: Select all

./get_iplayer --stream Olympics  | mplayer -vfm ffmpeg -lavdopts lowres=0:fast:skiploopfilter=all -nobps -ni -forceidx -mc 0 -
"works", but only at 3fps video or so, audio is perfect though.

Radio stations work great, take your pick:

Code: Select all

80100: BBC 1Xtra - live
80101: BBC 5 live Sports Extra- live
80102: BBC 6 Music - live
80103: BBC Asian Network - live
80104: BBC Berkshire - live
80105: BBC Bristol - live
80106: BBC Cambridgeshire - live
80107: BBC Cornwall - live
80108: BBC Coventry & Warwickshire - live
80109: BBC Cumbria - live
80110: BBC Derby - live
80111: BBC Devon - live
80112: BBC Essex - live
80113: BBC Gloucestershire - live
80114: BBC Guernsey - live
80115: BBC Hereford & Worcester - live
80116: BBC Humberside - live
80117: BBC Jersey - live
80118: BBC Kent - live
80119: BBC Lancashire - live
80120: BBC Leeds - live
80121: BBC Leicester - live
80122: BBC Lincolnshire - live
80123: BBC London - live
80124: BBC Manchester - live
80125: BBC Merseyside - live
80126: BBC Newcastle - live
80127: BBC Norfolk - live
80128: BBC Northampton - live
80129: BBC Nottingham - live
80130: BBC Oxford - live
80131: BBC Radio 1 - live
80132: BBC Radio 2 - live
80133: BBC Radio 3 - live
80134: BBC Radio 4 Extra - live
80135: BBC Radio 4 FM - live
80136: BBC Radio 4 LW - live
80137: BBC Radio 5 live - live
80138: BBC Radio Cymru - live
80139: BBC Radio Foyle - live
80140: BBC Radio Nan Gaidheal - live
80141: BBC Radio Scotland - live
80142: BBC Radio Ulster - live
80143: BBC Radio Wales - live
80144: BBC Sheffield - live
80145: BBC Shropshire - live
80146: BBC Solent - live
80147: BBC Somerset - live
80148: BBC Southern Counties - live
80149: BBC Stoke - live
80150: BBC Suffolk - live
80151: BBC Sussex - live
80152: BBC Swindon - live
80153: BBC Tees - live
80154: BBC Three Counties - live
80155: BBC WM - live
80156: BBC Wiltshire - live
80157: BBC World Service - live
80158: BBC York - live

Code: Select all

./get_iplayer --stream --type=liveradio 'Sports Extra' |mplayer - 

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Sun Jul 29, 2012 10:27 am
by alexeames
Nice one Mike. I think I read somewhere that a plugin for XBMC (which uses the GPU) can be used to stream BBC iplayer video. Haven't tried it though. :D

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Sun Jul 29, 2012 11:11 am
by mikerr
Yep - XBMC as a download install to your existing raspbian
http://www.raspberrypi.org/phpBB3/viewt ... 98#p135798
and iplayer add-on works at full frame rate with that.

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Sun Jul 29, 2012 4:16 pm
by drgeoff
mikerr wrote:Just for grins I tried streaming...

Video is obviously not up to much:

Code: Select all

./get_iplayer --stream Olympics  | mplayer -vfm ffmpeg -lavdopts lowres=0:fast:skiploopfilter=all -nobps -ni -forceidx -mc 0 -
"works", but only at 3fps video or so, audio is perfect though.
It is probably just ( :) ) a matter of employing the RPi's GPU hardware support for H.264 decoding. But I haven't a clue how to do that :( .

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Mon Sep 17, 2012 10:09 pm
by LetHopeItsSnowing
Hi,

Since I've had my Pi, I've been coding a rss feed creator which takes the get_iplayer download history and creates a rss aka podcast feed, which I use to automatically distribute tv and radio programs my mobile phone and XBMC. It works really well if you tie up the PVR function in get_iplayer with creating an rss feed, because you can tell it to download a whole series and it sends it out without you needing to be involved.

Anyway, I've released the alpha version of get_iplayer_genrss and would appreciate some feedback, so head over to http://www.stuffaboutcode.com/p/getiplayergenrss.html to info on how to install and use.

Cheers

LHIS

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Fri Jan 25, 2013 9:25 pm
by alexeames
Just an update here. You can now install get-iplayer on Raspbian without any piddling about...

Code: Select all

sudo apt-get update
sudo apt-get install get-iplayer ffmpeg atomicparsley libmp3-info-perl
...and you should be good to go.

Not only that, but one of the Get_iplayer devs has a Pi now and is working on some Pi specific deb files of the latest bleeding edge versions, which, it is hoped will be generally available in due course.

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Thu Jul 17, 2014 10:54 pm
by RockSox
I've just gotten on the get_iplayer bandwagon....

A few question...

1) Is there a command of renaming the files to their date and removing the title from the file name?
I'm looking to download daily/weekly radio programs and would like to have get_iplayer name the files as "[show]-[date]"

Thanks

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Wed Nov 05, 2014 1:27 pm
by alexeames
Update to the Raspberry Pi version (Raspbian) of Get_iplayer, with installation instructions here...

http://raspi.tv/2014/get_iplayer-raspberry-pi-update

Last week the BBC broke some of the most useful Get_iplayer functionality. It's patched already. I tested it this morning. :D

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Tue Nov 18, 2014 7:28 pm
by ecotec
I can't understand how I haven't seen this before, but i've spent a few days getting to grips with it and its great. The issue for me now is storage space, I have filled my small usb stick and want to use an old external HDD I have instead.

So what would be the best format for the HDD ex3 or ex4 or something else?

Re: Got get_iplayer downloading from BBC iPlayer

Posted: Fri Nov 21, 2014 9:01 pm
by ecotec
^formatted to ex4 and all working fine,