Kodi Community Forum

Full Version: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A quick question about potential usage of this via a proxy. (I am a BBC license paying UK citizen, but spend much of the year out of the UK)

I know that proxy support is not built into the plugin. In addition I believe that the plugin operates independently of XBMC's proxy settings.

So, I was wondering if I could use a tool like freecap (http://www.freecap.ru/eng/) to make this work. Freecap lets you specify proxy settings for any particular application. Anyone know if there is an "app" within this plugin I could force to use a proxy via freecap?

Thanks Smile
is there not http proxy settings in xbmc ? At least I thought there was.

[edit] misread. I thought the plugin used inbuilt stuff - sending rtmp parameters to xbmc to do the streaming. not sure now you ask, but i think it does ?
hmmm... i haven't tested it recently but i'm pretty sure that i read a while back that using XBMC's proxy settings will not work....

I would love it if I'm wrong though! Will test again when i get a chance, although given the current necessity for hacks with the plugin, it might be hard to identify specific reasons for non-playing content.

If the XBMC plugin settings are confirmed NOT to help I'm hoping there's some kind of .exe within the plugin i can point something like fastcap to....
Hi all,

I've been trying to get this working (using Google cache while the forum was down) but am still having problems.

Has anyone got this working on a Mac (Mini running OSX 10.6). I know there is other software to give "more functionality" but the XBMC solution is so much more elegant and wife friendly.

So, any OSX users out there who have binaries and/or "how to" advice?
gobbledigook Wrote:i only discovered the iplayer plugin a few days ago, and have been waiting with baited breath for the forum to come back up so i could figure out how to work it!!

I run xbmc in fluxbox on an ubuntu server box and administer through putty, i have found the first and third pages of the thread mentioned above in google's cache. I have tried the instructions for the xbmc live cd at the bottom of page one... but have been having trouble making it work!

i seemed to fail at the first wget!
The reason it fails is because the dev has pulled the file. I've got a copy of it.
http://bit.ly/cIfPDc

(Well done for finding the cache for the first page!)
gobbledigook Wrote:So i installed get_iplayer from the universe package, everything else went swimmingly, until i get to the last few commands!!

Code:
[email protected]:~$ get_iplayer.cgi --port=1935 --getiplayer=/usr/bin/get_iplayer
get_iplayer.cgi: command not found
[email protected]:~$ get_iplayer --port=1935 --getiplayer=/usr/bin/get_iplayer
Unknown option: port
Unknown option: getiplayer
Usage ( Also see http://linuxcentre.net/getiplayer/documentation ):
I fell into that trap. The Ubuntu package does not include the .cgi file. You have to get the full deb from here:
http://bit.ly/cIfPDc

Have fun.
thanx! Spicemuseum... that confirms what i had suspected, the packages are slightly different Smile

But i have already looked for the complete .deb package to no avail!

it seems to have been withdrawn? or removed from the linuxcentre site.... and the only other one's i have found have all pointed toward that site Sad

Maybe someone could post the full .deb package here?
aha!

I have found a working link, here dagnamit! i'm at work so will have t wait a few hours to see if i can make it work Wink
Hi!

I had trouble getting the iplayer plugin to stream watch again content, on further investigation i found that this is well documented Smile so i tried to find a workaround, and this is just putting the pieces together mainly from Schisms post here this was for the live cd i believe? anyways here's how to get it going in ubuntu:

install the iplayer plugin from here

then you need to

Code:
apt-get update

apt-get install libwww-perl id3v2 ffmpeg libmp3-info-perl libssh-dev

apt-get install get_iplayer

wget http://www.nakedgeek.co.uk/get_iplayer/get_iplayer.cgi (linux centre is not working anymore?)

wget http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.1d.tar.gz

tar -xvzf rtmpdump-2.1d.tar.gz

cd rtmpdump-2.1d

make posix

cp rtmpdump /usr/bin/

chmod 755 /usr/bin/rtmpdump

get_iplayer --rtmptvopts "--swfVfy http://www.bbc.co.uk/emp/10player.swf" --flvstreamer "/usr/bin/rtmpdump" --add-prefs

then you need to edit /home/xbmc/.xbmc/plugins/video/IPlayer/default.py

i use nano, you can use ctl-w to access find and then search for the line

url=make_url(feed=feed, pid=programme.pid)

The line you need to edit is three lines below this (line 426) and reads:-
url=url,
change it to read as follows:-

Code:
url="http://localhost:1935/iplayer?ACTION=stream&PROGTYPES=tv&PID=" + programme.pid + "&MODES=flashhd,flashvhigh,flashhigh,flashstd&STREAMTYPE=none",

hit ctl-o to save the file and save over the existing file

exit nano via ctl-x

now this was the tricky part for me... getting xbmc to run and THEN get_iplayer.cgi,

basically i started xbmc and have gone upstairs to ssh down and execute:

Code:
[email protected]:~$ ./get_iplayer.cgi --port=1935 --get_iplayer=/usr/bin/get_iplayer

so this is working at the moment great! Smile but i just need to work out how to get this to work where the above command is executed after xbmc starts... without having to ssh in !!

Smile
gobbledigook Wrote:so this is working at the moment great! Smile but i just need to work out how to get this to work where the above command is executed after xbmc starts... without having to ssh in !!
Instructions look right to me.

If you're using a standard Ubuntu installation with XBMC running on top, you need to add the command as a start-up job as follows:

System -> Preferences -> Startup Applications -> Add

Then add whatever name and description you like in the pop-up, but in the command field put:
Code:
/your/path/to/get_iplayer.cgi --port=1935 --get_iplayer=/usr/bin/get_iplayer

That's it.
exobuzz Wrote:IPlayer hackery info and files for xbox1 users are available on my homepage url (on my forum profile)! or msg me.

Just wanted to add my thanks for your contribution, now our girls can watch Dr Who again when they can without the need for another machine on.

Big Grin
spicemuseum Wrote:If you're using a standard Ubuntu installation with XBMC running on top,

hi! thanx for your suggestion but i am using ubuntu 9.10 server so don't have a full desktop gui...! i use the command startx and this pops open a fluxbox gui. I've tried dropping the comands into /etc.init.d/local, and making it executable, but it doesn't seem to work/do anything Sad

ultimately i am working on how to start the server, startx, open terminal, start xbmc, THEN execute that command to get iplayer working!! (because if i issue the command before xbmc starts it doesn't seem to work either!!) but i'm not getting anywhere fast!! Smile Have posted over in the ubuntu server forum but haven't had any replies yet!!
gobbledigook Wrote:hi! thanx for your suggestion but i am using ubuntu 9.10 server so don't have a full desktop gui...! i use the command startx and this pops open a fluxbox gui. I've tried dropping the comands into /etc.init.d/local, and making it executable, but it doesn't seem to work/do anything Sad

ultimately i am working on how to start the server, startx, open terminal, start xbmc, THEN execute that command to get iplayer working!! (because if i issue the command before xbmc starts it doesn't seem to work either!!) but i'm not getting anywhere fast!! Smile Have posted over in the ubuntu server forum but haven't had any replies yet!!
I'm confused why you're using Ubuntu Server with an XBMC frontend.



(You could just install Ubuntu-desktop using apt-get.)

(No idea why you can't use get_iplayer.cgi before starting XBMC, it works fine for me without XBMC.)
gobbledigook Wrote:Hi!

I had trouble getting the iplayer plugin to stream watch again content, on further investigation i found that this is well documented Smile so i tried to find a workaround, and this is just putting the pieces together mainly from Schisms post here this was for the live cd i believe? anyways here's how to get it going in ubuntu:

install the iplayer plugin from here

then you need to

Code:
apt-get update

apt-get install libwww-perl id3v2 ffmpeg libmp3-info-perl libssh-dev

apt-get install get_iplayer

wget http://www.nakedgeek.co.uk/get_iplayer/get_iplayer.cgi (linux centre is not working anymore?)

wget http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.1d.tar.gz

tar -xvzf rtmpdump-2.1d.tar.gz

cd rtmpdump-2.1d

make posix

cp rtmpdump /usr/bin/

chmod 755 /usr/bin/rtmpdump

get_iplayer --rtmptvopts "--swfVfy http://www.bbc.co.uk/emp/10player.swf" --flvstreamer "/usr/bin/rtmpdump" --add-prefs

then you need to edit /home/xbmc/.xbmc/plugins/video/IPlayer/default.py

i use nano, you can use ctl-w to access find and then search for the line

url=make_url(feed=feed, pid=programme.pid)

The line you need to edit is three lines below this (line 426) and reads:-
url=url,
change it to read as follows:-

Code:
url="http://localhost:1935/iplayer?ACTION=stream&PROGTYPES=tv&PID=" + programme.pid + "&MODES=flashhd,flashvhigh,flashhigh,flashstd&STREAMTYPE=none",

hit ctl-o to save the file and save over the existing file

exit nano via ctl-x

now this was the tricky part for me... getting xbmc to run and THEN get_iplayer.cgi,

basically i started xbmc and have gone upstairs to ssh down and execute:

Code:
[email protected]:~$ ./get_iplayer.cgi --port=1935 --get_iplayer=/usr/bin/get_iplayer

so this is working at the moment great! Smile but i just need to work out how to get this to work where the above command is executed after xbmc starts... without having to ssh in !!

Smile

I just followed this from an XBMC Live install but ran into a few problems. apt-get install get_iplayer and get_iplayer --rtmptvopts "--swfVfy http://www.bbc.co.uk/emp/10player.swf" --flvstreamer "/usr/bin/rtmpdump" --add-prefs commands don't work. It just says it doesn't exit, all the other steps work fine.

I already had Iplayer installed from the SVN Installer within XBMC.

Any ideas ?

Cheers !
spicemuseum Wrote:The reason it fails is because the dev has pulled the file. I've got a copy of it.

(Well done for finding the cache for the first page!)

Care to share where we could find the latest .deb so can continue to use the iplayer as intended ? linuxcentre no longer host it, I've seen the post for the get_iplayer.cgi but I'm sure what I need to do with that as it's not a .deb.

Thanks !!