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)

gohan2091 2010-01-23 18:14

Re: iPlayer working on the N900
 
Jan, here is how I read your first page instructions...

1) Add repository to catalogue then exit

2) Open xTerminal and paste in this:

sudo gainroot
apt-get update
apt-get install iplayer-dl
echo 'alias iplayer="iplayer-dl -d /home/user/MyDocs/.videos"' >> /home/user/.profile

3) Exit xTerminal, reopen and type:

iplayer URL

Didn't you or someone here say you should run the echo part as user and not root? If so, your instructions on page 1 are wrong as you said run the 3 commands and as an extra, run a 4th command (the echo) THEN exit xTerminal.

That aside 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 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
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Ign 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
Ign 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/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
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 
Ign http://repository.maemo.org fremantle/non-free Packages
Ign http://repository.maemo.org fremantle/tools/free Packages
Ign http://repository.maemo.org fremantle/tools/non-free Packages
Hit http://maemorepo.kaspernj.org fremantle/main Packages
Err http://repository.maemo.org fremantle/free Packages
  504 Gateway Time-out [IP: 84.53.178.26 80]
Err http://repository.maemo.org fremantle/non-free Packages
  504 Gateway Time-out [IP: 84.53.178.26 80]
Err http://repository.maemo.org fremantle/tools/free Packages
  0 Init [IP: 84.53.178.26 80]
Err http://repository.maemo.org fremantle/tools/non-free Packages
  504 Gateway Time-out [IP: 84.53.178.26 80]
W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle/free/binary-armel/Packages  504 Gateway Time-out [IP: 84.53.178.26 80]

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle/non-free/binary-armel/Packages  504 Gateway Time-out [IP: 84.53.178.26 80]

W: Failed to fetch http://repository.maemo.org/dists/fremantle/tools/free/binary-armel/Packages  0 Init [IP: 84.53.178.26 80]

W: Failed to fetch http://repository.maemo.org/dists/fremantle/tools/non-free/binary-armel/Packages  504 Gateway Time-out [IP: 84.53.178.26 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.
/home/user # apt-get install iplayer-dl


cardiff-blues 2010-01-23 18:16

Re: iPlayer working on the N900
 
Guys, Iv'e got it.

I had Ruby installed from App Manager as well. I uninstalled that and reinstalled iplayer and it works fine. Big thanks to everyone. Big thanks to Big Jan.

cardiff-blues 2010-01-23 18:20

Re: iPlayer working on the N900
 
Gohan:
What happens when you type just iplayer in xterminal?

casper27 2010-01-23 18:23

Re: iPlayer working on the N900
 
@gohan
That is correct. The coding that you have pasted is just the repositories updating. It does not matter if all of them do not update as there is a problem with some of them at the moment. Just leave it till it gets to 100% and the curser comes back. All the commands you have written are correct so it should install.

EDIT
It looks as though its ignoring Kaspernj repository. Are you sure its not disabled. Go into application manager then catalogues. Click on kaspernj repository and make sure disabled is not checked.

gohan2091 2010-01-23 18:30

Re: iPlayer working on the N900
 
When I run:

sudo gainroot
apt-get update
apt-get install iplayer-dl
echo 'alias iplayer="iplayer-dl -d /home/user/MyDocs/.videos"' >> /home/user/.profile

it starts timing out around 87 percent and the files at the end fail.

Quote:

Originally Posted by cardiff-blues (Post 490742)
Gohan:
What happens when you type just iplayer in xterminal?

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.

-sh: Reading: not found
-sh: Building: not found
-sh: Reading: not found
~ $ iplayer
-sh: iplayer: not found

Now it says reading and building not found....

EDIT, the Kaspernj repository is not disabled, I just checked. This is all a giant headache, I am sorry

casper27 2010-01-23 18:33

Re: iPlayer working on the N900
 
You arn't typing all the commands in together are you? do them one at a time pressing enter in between. We will get there in the end :-)

gohan2091 2010-01-23 18:36

Re: iPlayer working on the N900
 
Quote:

Originally Posted by casper27 (Post 490765)
You arn't typing all the commands in together are you? do them one at a time pressing enter in between. We will get there in the end :-)

Yes, I was... that was the impression I got when I read the instructions.... wait there, i will type the 4 commands one at a time, pressing enter after each

casper27 2010-01-23 18:39

Re: iPlayer working on the N900
 
Thats where its going wrong :-) hope it goes through ok.

gohan2091 2010-01-23 18:54

Re: iPlayer working on the N900
 
Quote:

Originally Posted by casper27 (Post 490774)
Thats where its going wrong :-) hope it goes through ok.

YES, actually downloading an iplayer video file now, it will be going to home/user/MyDocs/.which is outside my 2GB partition but what if I exit out of xTerminal and download another file later? is it just iplayer URL again or must I type in that echo command line before hand?

thanks so much all. Sorry Jan about calling your simplified instructions rubbish but I still stand by what I said HOWEVER your recent edits have been good but please may I suggest you make clear that the 4 commands be executed one at a time? To prevent idiots like me trying to run all commands at once. You grouped 3 commands together which was why I thought they must be executed together in one go.

casper27 2010-01-23 19:07

Re: iPlayer working on the N900
 
Just type in iplayer then URL. Glad its sorted.


All times are GMT. The time now is 11:46.

vBulletin® Version 3.8.8