maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   iPlayer working on the N900 (https://talk.maemo.org/showthread.php?t=40512)

cardiff-blues 2010-01-20 22:06

Re: iPlayer working on the N900
 
This is so cool. The best modification and the most useful for me :)

Top marks to all the guys and big thanks to 'Big Phat Jan' and 'kaspernj'

noobmonkey 2010-01-20 22:22

Re: iPlayer working on the N900
 
just to confirm QI XL - playing perfectly - great quality and sound in the standard N900 player.....
:)

Big Phat Jan 2010-01-21 16:28

Re: iPlayer working on the N900
 
Quote:

Originally Posted by noobmonkey (Post 485337)
Would be useful for the original poster to collate everything into one simple walk through :) - saves people hunting - especially if this posts hits many threads! :)

Done!

Cheers,
Jan

kaspernj 2010-01-21 16:40

Re: iPlayer working on the N900
 
Quote:

Originally Posted by Big Phat Jan (Post 486894)
Done!

Cheers,
Jan

Jan, maybe you should also add the "apt-get update" to the commands in the first post, to ensure that apt will actually find the iplayer-dl-package?

And btw - my nick is spelled "kaspernj" with one "A" and one "E". Not two "A"'s :-)

Doesnt "kaspar" or "caspar" mean clown in german?

Big Phat Jan 2010-01-21 16:52

Re: iPlayer working on the N900
 
Quote:

Originally Posted by kaspernj (Post 486923)
Jan, maybe you should also add the "apt-get update" to the commands in the first post, to ensure that apt will actually find the iplayer-dl-package?

And btw - my nick is spelled "kaspernj" with one "A" and one "E". Not two "A"'s :-)

Doesnt "kaspar" or "caspar" mean clown in german?

Done and done! Apologies for the mistake (I can only assume I was thinking of this...)

Cheers,
Jan

edgedemon 2010-01-21 17:12

Re: iPlayer working on the N900
 
I keep getting catalogue unavailable??

Have checked its not a typo

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

comes back with http://maemorepo.kaspernj.org/dists/...armel/Packages
404 Not Found

Big Phat Jan 2010-01-21 17:30

Re: iPlayer working on the N900
 
Quote:

Originally Posted by edgedemon (Post 486974)
I keep getting catalogue unavailable??

Have checked its not a typo

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

comes back with http://maemorepo.kaspernj.org/dists/...armel/Packages
404 Not Found

The link you posted has a typo - freemantle instead of fremantle. Easily done!

Cheers,
Jan

edgedemon 2010-01-21 17:34

Re: iPlayer working on the N900
 
Quote:

Originally Posted by Big Phat Jan (Post 487015)
The link you posted has a typo - freemantle instead of fremantle. Easily done!

Cheers,
Jan

you wouldn't believe the amount of times I double checked that without seeing it....

thanks as I doubt I would ever have seen that..

Anwarboy11 2010-01-21 21:25

Re: iPlayer working on the N900
 
sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get install iplayer-dl
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
/home/user #

i keep getting this error can someone tell me why?

cardiff-blues 2010-01-21 21:27

Re: iPlayer working on the N900
 
Make sure you close the Update Manager or File Manager, or anything else that may be using that resource.

eightace 2010-01-21 22:27

Re: iPlayer working on the N900
 
I cannot update from kaspernj's repository.Has it crashed with all the hits generated by this thread?

kaspernj 2010-01-21 22:48

Re: iPlayer working on the N900
 
Quote:

Originally Posted by eightace (Post 487642)
I cannot update from kaspernj's repository.Has it crashed with all the hits generated by this thread?

I just bought a new and faster server. It should be up some time tomorrow. Sorry for the inconvenience.

phillane 2010-01-21 23:05

Re: iPlayer working on the N900
 
Hi

I need a little stuck as I'm stuck... I've done the following
sudo gainroot
apt-get update
apt-get install iplayer-dl

then done

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

cat /home/user/.profile
shows
alias iplayer='iplayer-dl -d /home/user/MyDocs/.videos'

running apt-get install iplayer-dl says its already latest version

YET, typing iplayer 'and the URL' or iplayer-dl -d I get the error
iplayer-dl not found

Not sure what to do next?

noobmonkey 2010-01-21 23:09

Re: iPlayer working on the N900
 
Sounds to me that either
This line was not typed correctly -
echo "alias iplayer='iplayer-dl -d /home/user/MyDocs/.videos'" >> /home/user/.profile

Or...
Iplayer-dl isn't installed correctly.... :(

jdave76 2010-01-21 23:24

Re: iPlayer working on the N900
 
Quote:

Originally Posted by phillane (Post 487744)
Hi

I need a little stuck as I'm stuck... I've done the following
sudo gainroot
apt-get update
apt-get install iplayer-dl

then done

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

cat /home/user/.profile
shows
alias iplayer='iplayer-dl -d /home/user/MyDocs/.videos'

running apt-get install iplayer-dl says its already latest version

YET, typing iplayer 'and the URL' or iplayer-dl -d I get the error
iplayer-dl not found

Not sure what to do next?

i get the same thing not found,i tryed to install iplayer again and it says allready there i'm confused

kaspernj 2010-01-22 09:34

Re: iPlayer working on the N900
 
Quote:

Originally Posted by phillane (Post 487744)
Hi
YET, typing iplayer 'and the URL' or iplayer-dl -d I get the error
iplayer-dl not found

Not sure what to do next?

What is the output of the following command:
Code:

ls -l /usr/bin | grep iplayer

gohan2091 2010-01-22 17:42

Re: iPlayer working on the N900
 
Am I the only one who can't even get pass step 1? Where is the dl link to the repository?

phillane 2010-01-22 19:17

Re: iPlayer working on the N900
 
Quote:

Originally Posted by kaspernj (Post 488308)
What is the output of the following command:
Code:

ls -l /usr/bin | grep iplayer


Hi I get the following:

Code:

lrwxrwxrwx    1 1000    1000          24 Jan 22 07:27 iplayer-dl -> /opt/ruby/bin/iplayer-dl
lrwxrwxrwx    1 1000    1000          28 Jan 22 07:27 iplayer-dl-gui -> /opt/ruby/bin/iplayer-dl-gui


eightace 2010-01-22 22:01

Re: iPlayer working on the N900
 
Quote:

Originally Posted by phillane (Post 489250)
Hi I get the following:

Code:

lrwxrwxrwx    1 1000    1000          24 Jan 22 07:27 iplayer-dl -> /opt/ruby/bin/iplayer-dl
lrwxrwxrwx    1 1000    1000          28 Jan 22 07:27 iplayer-dl-gui -> /opt/ruby/bin/iplayer-dl-gui


I am having the same problem. All installed properly but the output above is what I also get.....:mad:

Big Phat Jan 2010-01-22 23:02

Re: iPlayer working on the N900
 
@gohan - use the app manager, click on the title, then application catalogues, then new, and enter the details from the first post.

Quote:

Originally Posted by phillane (Post 489250)
Hi I get the following:

Code:

lrwxrwxrwx    1 1000    1000          24 Jan 22 07:27 iplayer-dl -> /opt/ruby/bin/iplayer-dl
lrwxrwxrwx    1 1000    1000          28 Jan 22 07:27 iplayer-dl-gui -> /opt/ruby/bin/iplayer-dl-gui


I haven't installed iplayer-dl from Kasper's repository so it's a bit tricky to debug, but the one thing that looks weird there is the ownership.

Not sure why this would affect anything, but as a test, try the following commands and let us know the output.

Code:

which iplayer-dl
#note output...

sudo gainroot
chown root. /usr/bin/iplayer-dl
which iplayer-dl
#note output again

Cheers,
Jan

cardiff-blues 2010-01-23 01:00

Re: iPlayer working on the N900
 
Jan
I had to re-flash my N900 and went through the instructions on page 1 and am getting the same errors as these guys above. It was working for me originally before the reflash.

In answer to your last questions:

which iplayer-dl = /usr/bin/iplayer-dl

and for

chown root. /user/bin/iplayer-dl = No such file or directory.

Big Phat Jan 2010-01-23 01:39

Re: iPlayer working on the N900
 
Quote:

Originally Posted by cardiff-blues (Post 489806)
Jan
I had to re-flash my N900 and went through the instructions on page 1 and am getting the same errors as these guys above. It was working for me originally before the reflash.

In answer to your last questions:

which iplayer-dl = /usr/bin/iplayer-dl

and for

chown root. /user/bin/iplayer-dl = No such file or directory.

Apologies, had a typo in there. I've edited the original. Given your output I'm not sure this will necessarily help though - will think harder about it in the morning!

Cheers,
Jan

cardiff-blues 2010-01-23 01:46

Re: iPlayer working on the N900
 
chown root. /usr/bin/iplayer-dl
which iplayer-dl

This now returns ....

/usr/bin/iplayer-dl

Big Phat Jan 2010-01-23 10:53

Re: iPlayer working on the N900
 
Quote:

Originally Posted by cardiff-blues (Post 489873)
chown root. /usr/bin/iplayer-dl
which iplayer-dl

This now returns ....

/usr/bin/iplayer-dl

Well in an attempt to track this down I installed iplayer-dl from Kasper's repository. I'm afraid it works for me so is a bit difficult to troubleshoot! The next thing I would try would be the following:

Code:

ls -l /opt/ruby/bin
and post the output.

Cheers,
Jan

cardiff-blues 2010-01-23 11:02

Re: iPlayer working on the N900
 
1 Attachment(s)
Hi Jan

This is what I get...which I don't really understand as I flashed my device yesterday. I would have thought that it would have had a different timestamp?

gohan2091 2010-01-23 11:45

Re: iPlayer working on the N900
 
I added the repository to the app manager catalogue, closed it then loaded x terminal. The 2nd command returns an error:

Code:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Enable RD mode if you want to break your device
~ $ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory

Please help

cardiff-blues 2010-01-23 11:47

Re: iPlayer working on the N900
 
Try ensuring that there are no other apps running.

gohan2091 2010-01-23 12:05

Re: iPlayer working on the N900
 
Quote:

Originally Posted by cardiff-blues (Post 490342)
Try ensuring that there are no other apps running.

Nothing else is running except for a few statusbar apps, I will look around more.

Also, is Distribution: fremantle or freemantle ??? I tried both.

cardiff-blues 2010-01-23 12:07

Re: iPlayer working on the N900
 
Should be fremantle

gohan2091 2010-01-23 12:41

Re: iPlayer working on the N900
 
Quote:

Originally Posted by cardiff-blues (Post 490361)
Should be fremantle

I just uninstalled 7 applets but no luck, I cannot get this to work. Even typing the first command in x terminal shows an odd response:

Code:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Enable RD mode if you want to break your device
~ $

Root Shell won't enable. Can anyone help? All i've done so far is added the repository information into the app manager under new catalogue. I then saved this, my n900 says looking for updates, then shows me the app manager menu. I close this, enter xterminal and type in the 3 commands, all responses are odd. Why am I the only one having this problem? We all have the same device...

Anwarboy11 2010-01-23 12:50

Re: iPlayer working on the N900
 
I've tried to download about 3 beeb shows up to now, each of them have failed.
They get to around 98% or 97% and then stop and the next line of xterm appears as if it finishes,
i try and playback the file and it gives a playback error?
Can someone tell me how i can fix this.

misty 2010-01-23 12:53

Re: iPlayer working on the N900
 
I am at the exact same point as Gohan. I am a total newbie with this so have no idea how to get round it but would love to watch iplayer.

I made sure there was nothing else open but still no joy.

casper27 2010-01-23 13:04

Re: iPlayer working on the N900
 
Quote:

Originally Posted by gohan2091 (Post 490394)
I just uninstalled 7 applets but no luck, I cannot get this to work. Even typing the first command in x terminal shows an odd response:

Code:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Enable RD mode if you want to break your device
~ $

Root Shell won't enable. Can anyone help? All i've done so far is added the repository information into the app manager under new catalogue. I then saved this, my n900 says looking for updates, then shows me the app manager menu. I close this, enter xterminal and type in the 3 commands, all responses are odd. Why am I the only one having this problem? We all have the same device...

You need to download rootsh from the extras-dev repository. Enable this repository at your own risk as all applications are experimental.
Once you have downloaded it the sudo gainroot command will work.

gohan2091 2010-01-23 13:13

Re: iPlayer working on the N900
 
Quote:

Originally Posted by casper27 (Post 490414)
You need to download rootsh from the extras-dev repository. Enable this repository at your own risk as all applications are experimental.
Once you have downloaded it the sudo gainroot command will work.

The simple, shorten instructions on the first post are rubbish as that was never mentioned... I will have a look for rootsh, thanks

casper27 2010-01-23 13:19

Re: iPlayer working on the N900
 
Thats correct the first post does need to be edited to include downloading Rootsh BUT with a BIG warning.As enabling root on the device gives you full control and with that you can seriously brick your device if not carefull.

gohan2091 2010-01-23 13:40

Re: iPlayer working on the N900
 
Getting further now but experiencing the problem a few are getting on page 6 and 7. When I type in iplayer URL (the actual URL) I get iplayer-dl: not found. I also tried other commands mentioned on previous pages, here is my xterminal screen:

Code:


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ echo "alias iplayer='iplayer-dl -d /home/user/MyDocs/.videos'" >> /home/user/.profile
-sh: cannot create /home/user/.profile: Permission denied
~ $ cat /home/user/.profile
alias iplayer='iplayer-dl -d /home/user/MyDocs/.videos'
~ $ iplayer http://www.bbc.co.uk/iplayer/episode/b00qb093/Friday_Night_with_Jonathan_Ross_Series_18_Episode_2/
-sh: iplayer-dl: not found
~ $ which iplayer-dl
~ $ cat /home/user/.profile
alias iplayer='iplayer-dl -d /home/user/MyDocs/.videos'
~ $ apt-get install iplayer-dl
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
~ $ ls -l /usr/bin | grep iplayer
~ $ which iplayer-dl
~ $ #note output...
~ $
~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # chown root. /usr/bin/iplayer-dl
chown: /usr/bin/iplayer-dl: No such file or directory
/home/user # which iplayer-dl
/home/user # #note output again


Digbum13 2010-01-23 13:43

Re: iPlayer working on the N900
 
Wow, this is great! Works beautifully.

Big Phat Jan 2010-01-23 13:46

Re: iPlayer working on the N900
 
Quote:

Originally Posted by gohan2091 (Post 490421)
The simple, shorten instructions on the first post are rubbish as that was never mentioned... I will have a look for rootsh, thanks

Gohan. I got this phone when it was first released and the very first thing I did was enable root. Please forgive me for forgetting that it doesn't come as standard. I was in the process of writing (another!) post to clarify when I saw your problem was already answered.

Reading your most recent post it looks like you've got yourself in a bit of a pickle. Perhaps someone else can be bothered to help you sort it out - I don't want to give you any more "rubbish".

Jan

Big Phat Jan 2010-01-23 13:54

Re: iPlayer working on the N900
 
Quote:

Originally Posted by Anwarboy11 (Post 490402)
I've tried to download about 3 beeb shows up to now, each of them have failed.
They get to around 98% or 97% and then stop and the next line of xterm appears as if it finishes,
i try and playback the file and it gives a playback error?
Can someone tell me how i can fix this.

What's the exact error?

If you name the files you've tried to get I'll download one of them, we can compare file sizes and see whether it's a download issue or a playback issue.

Cheers,
Jan

gohan2091 2010-01-23 13:58

Re: iPlayer working on the N900
 
Quote:

Originally Posted by Big Phat Jan (Post 490458)
Gohan. I got this phone when it was first released and the very first thing I did was enable root. Please forgive me for forgetting that it doesn't come as standard. I was in the process of writing (another!) post to clarify when I saw your problem was already answered.

Reading your most recent post it looks like you've got yourself in a bit of a pickle. Perhaps someone else can be bothered to help you sort it out - I don't want to give you any more "rubbish".

Jan

I didn't mean to hurt your feelings and please forgive my bluntness but we aren't all technically minded as you and those instructions cause problems because they are incomplete. Please can you help me and others out? A bunch of us are having the same problem, not just me. I am not calling you rubbish or your knowledge but you got to admit, those instructions really cause a headache and don't allow me to download iplayer videos in their current state.

When I enter the first 4 commands, I get this:

Code:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get update
Hit http://repository.maemo.org fremantle Release.gpg
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Ign http://repository.maemo.org fremantle/tools Release.gpg
Ign http://repository.maemo.org fremantle/tools/free Translation-en_GB
Ign http://repository.maemo.org fremantle/tools/non-free Translation-en_GB
Ign http://maemorepo.kaspernj.org fremantle Release.gpg
Ign http://maemorepo.kaspernj.org fremantle/main Translation-en_GB
Hit http://repository.maemo.org fremantle Release
Ign http://repository.maemo.org fremantle/tools Release
Ign http://maemorepo.kaspernj.org fremantle Release                         
Ign http://repository.maemo.org fremantle/tools/free Packages/DiffIndex     
Ign http://repository.maemo.org fremantle/tools/non-free Packages/DiffIndex
Ign http://maemorepo.kaspernj.org fremantle/main Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle/tools/free Packages
Hit http://repository.maemo.org fremantle/tools/non-free Packages
Hit http://maemorepo.kaspernj.org fremantle/main Packages
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Reading package lists... Done
/home/user # apt-get install iplayer-dl
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following extra packages will be installed:
  ruby
The following NEW packages will be installed:
  iplayer-dl ruby
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 3725kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?

Your instructions don't even tell us whether to press Y for yes, N for no. I tried typing y and it just said abort. I also tried closing the terminal, relaunching it and typer iplayer URL but it says not found.


All times are GMT. The time now is 12:14.

vBulletin® Version 3.8.8