View Single Post
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#1
I'll put this caveat right at the beginning so as not to waste anyone's time: This has NOT been through any QA process, and so carries at least the same potential problems as installing stuff from extras-devel.

In order to get this running you need rootsh installed, which comes with caveats of its own. See this page for details: http://wiki.maemo.org/Root_access.

I've updated this first post to contain the current easiest method of getting this working - original post is below.

If you don't understand any of the steps below I suggest you stop and ask (/read on into the thread) rather than just doing them. A small level of knowledge of the terminal is required, but there is lots of discussion of each of the steps later in the thread if you are a beginner.

First, make sure that extras-devel is disabled. There's an un-optified version of Ruby in there that will break things. It reports as being a later version, so i you enable extras-devel in the future it will report an udate for Ruby - don't install this!

Thanks to Kaspernj (click "Thanks!" on his post below!) installing is now as simple as adding his repository:

Name: kaspernj.org
Webaddress: http://maemorepo.kaspernj.org
Distribution: fremantle
Components: main

If you've used application manager to add the repository make sure you close it. Then open a terminal and type the following:

Code:
sudo gainroot
then:

Code:
apt-get update
then:

Code:
apt-get install iplayer-dl
Typing yes at any prompts. Wait for it to finish and then type:

Code:
exit
To make life easier you can also type this command:

echo 'alias iplayer="iplayer-dl -d /home/user/MyDocs/.videos"' >> /home/user/.profile

Then type:

Code:
source /home/user/.profile
This helps ensure that the videos you download are stored in "MyDocs" and are easily accessible from the Media Player.

You can now download from iPlayer by opening a terminal and typing:

Code:
iplayer URL
Where "URL" is the web address of the programme you want.

Some important caveats:
  • Don't accidentally use "iplayer-dl URL" (as opposed to "iplayer URL" above) unless you know what you're doing - this will quickly fill up your 2GB of "application space" and cause considerable heartache!

  • Please note that this has NOT been through any QA process, and so carries at least the same potential problems as installing stuff from extras-devel. However, everything is optified, and no one seems to have had any serious problems to date.

  • Remember you're not streaming, you're downloading, so there's a bit of a wait before you can start watching. The beeb's servers are pretty quick though, so it'll probably only be a short while.

  • Be careful because an hour long show will be in the region of 200MB - too much of that on roaming data and your phone company will probably be giving you a ring! Many phone companies have blocked iPlayer traffic anyway, in which case you will only be able to download when connected to wifi.

  • The BBC probably don't want you getting iPlayer content this way as it in theory enables you to keep content longer than they allow. So delete stuff as soon as you've watched it, and don't go too crazy with the downloads!

  • As with any large download and video watching, this has the potential to drain your battery relatively quickly.

  • Finally, (from the iplayer-dl developer's site):

    It won’t download every programme that’s on the iPlayer website, because they’re not always available. Sometimes, this is by design (as in the case of films and expensive US series like Heroes); sometimes it’s due to omission or transient problems. In addition, it can’t currently download the embedded videos that are not part of the main iPlayer offering.

And that's it! For a bit more info read the original post below and the rest of the thread.

Cheers,
Jan


--- Original post ---

Hi everyone. After searching the forums, it seems no one has a trivial method for watching iPlayer from the N900. So I thought that as I have one that's slightly more trivial that the current suggestions it would only be fair to share!

It's important to note that the BBC probably don't want you getting iPlayer content this way as it in theory enables you to keep content longer than they allow. So delete stuff as soon as you've watched it. That being said, on with the instructions!

First you need to install Ruby on your device. This is the tricky bit, but it's been made easier by the sterling work of kaspernj, as detailed in this post. You'll need to add his repository, mentioned in the first post of the thread linked above (it's fine to do this from the app manager). Make sure you thank him!

Please note that this has NOT been through any QA process, and so carries at least the same caveats as installing from extras-devel (actually maybe more, if kaspernj decided to be evil!). But in its favour it's all working like a charm for me, and it's been optified - still, here be dragons.

That being said, when you add the repository from app manager it should update automatically, so to install Ruby it's as easy as the following in a terminal:

Code:
sudo gainroot
apt-get install ruby
apt-get install ruby-rake
I'm not sure whether ruby-rake is actually required, but it's pretty small. You could try without and report success or failure if you want.

Next, travel to http://po-ru.com/projects/iplayer-downloader/, read up on the background, and tip your proverbial hat to the developer. You can follow his instructions to get the source from github (here), or for the moment at least you can just do the following in a terminal:

Code:
wget http://po-ru.com/files/iplayer-dl-latest.tar.gz
Extract, follow the instructions in README, and you're good to go!

i.e.:

Code:
tar zxvf iplayer-dl-latest.tar.gz
cd iplayer-dl-0.1.18
ruby setup.rb config
sudo gainroot
ruby setup.rb install
Note that the the number on the end of "iplayer-dl-0.1.18" may be slightly different if you're following these instructions in the future.

In order to make life easier, link the created binary to /usr/bin:

Code:
sudo gainroot
ln -s /home/user/iplayer-dl-0.1.18/bin/iplayer-dl /usr/bin/iplayer-dl
And you're done! Just open a terminal, and type something along the lines of:

Code:
iplayer-dl -d /home/user/MyDocs/.videos iplayer_URL
And the show that's at "iplayer_URL" will be saved to "/home/user/MyDocs/.videos" (which is the standard place to put videos on the N900).

The quality is great on the few things I've downloaded so far.

Remember you're not streaming, you're downloading, so there's a bit of a wait before you can start watching. The beeb's servers are pretty quick though, so it'll probably only be a short while.

This is obviously a useful feature if you're on the move, though be careful because an hour long show will be in the region of 200MB - too much of that on roaming data and your phone company will probably be giving you a ring!

Please note (from the developer's site):

It won’t download every programme that’s on the iPlayer website, because they’re not always available. Sometimes, this is by design (as in the case of films and expensive US series like Heroes); sometimes it’s due to omission or transient problems. In addition, it can’t currently download the embedded videos that are not part of the main iPlayer offering.
But it's still good for an episode of HIGNFY every now and again...

Cheers,
Jan

Last edited by Big Phat Jan; 2010-01-25 at 11:16.
 

The Following 18 Users Say Thank You to Big Phat Jan For This Useful Post: