Notices


Reply
Thread Tools
Posts: 15 | Thanked: 1 time | Joined on Jan 2010
#141
Hi

First post so please go easy. I desparately need this and have so far followed the instructions but when I type iplayer then the URL of the video I want to download, it comes up with "iplayer not found".

I am having issues with what these 2 sets of instructions mean: -

__________________________________________________ ______
Code:
sudo gainroot
apt-get update
apt-get install iplayer-dl
#Type yes at any prompts and wait for it to finish
exit

To make life easier you can also type this command (as user!):


Code:
echo 'alias iplayer="iplayer-dl -d /home/user/MyDocs/.videos"' >> /home/user/.profileIt seems that the "code" tags on this forum introduce line breaks! This needs to all be on one line! It seems that pasting the command outside of the code tags solves the new line problem, so here it is:

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

This ensures that the videos you download are stored in "MyDocs" and are easily accessible from the Media Player.

After typing these commands, completely exit and restart the terminal.

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.

__________________________________________________ _____

I do not understand this syntax at all, so must follow instructions to the letter. The instructions confuse....... I mean do you do the first set of instructions with the secons lot "optional"? Or do you do the secons lot instead of the first. If anyone reads the first part of the post and do not understand Linux, they will be equally confused.

Anyhow I have inserted both sets of commands - the first ones went through ok but the 2nd, I am having difficulty with. There are 3 versions of the syntax on this site all of which are different at the appropriate point do you type " ', "', '" or ' " - come on guys please be clear.

Also when you mention type as user, what exactly do you mean?

Could somebody pleae type the exact commands after you install rootsh - I have done this and entered the first part of the subsequent syntax.

But when I type the bit which is started by saying "to make life easier", I enter what I think is correct but I get nothing after entering it - I am assuming that this is the reason why when I type iplayer (and then the URL) I get the message "iplayer not found".

Please somebody explain all in simple to understand language.

Cheers

roz
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#142
Hi Rozel.

Try doing it in a new terminal. If that doesn't work, try reading the first post again - I've edited it to hopefully make it more beginner-friendly!

Cheers,
Jan
 
Posts: 271 | Thanked: 20 times | Joined on Apr 2009 @ United Kingdom
#143
Originally Posted by asidana View Post
There isn;t with their default setup. you can check internet explorer> internet settings > connections > lan
My monitor has been broken for the last 2 weeks and I am awaiting a replacemenrt, because of this, all Internet access is done via my n900. I don't use Internet Explorer either, I am a Firefox user.
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#144
Hi Misty. It sounds like you are probably suffering from problem 2 below. Try following the instructions below to test and fix that, and then continue from the "echo" command in the first post.

Originally Posted by Big Phat Jan View Post
To anyone having problems, I've corrected three potential sources of them in my first post. They are as follows:

1. You need to have rootsh installed or "sudo gainroot" won't work.

2. You need to be user when echoing the alias to your /home/user/.profile file, or root will own the file (which is bad!)

You can test this using:

Code:
ls -l /home/user/.profile
If you see "root" there at all then you need to change this to "user" with the following commands:

Code:
sudo gainroot
chown user. /home/user/.profile
exit
3. The "code" tags on this forum seem to introduce line breaks depending on your screen resolution and size! I think that this is what has caused most of the problems (and this would explain why some people are having problems and others aren't).

The "echo ..." command needs to all be on one line. If this is not the case you need to edit the /home/user/.profile file and make sure it is. If this is the only alias you have, then the easiest way would be to delete the file and then redo the command making sure there are no line breaks, i.e.

Code:
rm /home/user/.profile
#below here should all be one line
echo 'alias iplayer="iplayer-dl -d /home/user/MyDocs/.videos"' >> /home/user/.profile
#above here should all be one line
It seems that pasting the echo command outside of the code tags would solve the new line problem, so here it is:

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

If you do have other aliases your best option would be to use a text editor to edit the file instead.

Cheers,
Jan
 
Posts: 15 | Thanked: 1 time | Joined on Jan 2010
#145
HI Thankyou - I did think I entered the commands in the first place lol but before I do anything further, how can I check I have successfully downloaded iplayer in the first part? And what should I get as a response after entering the second lot, which I still do not know if they are nessesary.
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#146
Originally Posted by rozel View Post
HI Thankyou - I did think I entered the commands in the first place lol but before I do anything further, how can I check I have successfully downloaded iplayer in the first part? And what should I get as a response after entering the second lot, which I still do not know if they are nessesary.
The second set of commands are not necessary, they are strongly advised to prevent you from filling your app space with videos and to make them easily accessible. I've posted more details in previous posts. In short, do them unless you know better. They won't give any output.

To test whether iplayer-dl has installed, try running it! Use:

Code:
iplayer-dl --help
Cheers,
Jan
 
Posts: 247 | Thanked: 91 times | Joined on Jan 2008 @ London/M4 Corridor
#147
Originally Posted by rozel View Post
HI Thankyou - I did think I entered the commands in the first place lol but before I do anything further, how can I check I have successfully downloaded iplayer in the first part?
  1. Start new xterm
  2. type the command "id", it should say you're running as user "user"
  3. type "ip", followed by selecting the "Tab" listed on the bottom of the x terminal window
  4. You should get a listing of the commands beginning with "ip" on the N900, including "iplayer". This means that the iplayer-dl package has been installed.
  5. Don't get too excited by the "iplayer-dl-gui" entry you see. Mine doens't work, probably because this is a work in progress.
  6. Now that you've verified that iplayer-dl is present, just hit Return to get out of filename complettion mode.
  7. Now, enter the real command. I'll write is as I would type the keystrokes using auto-completion. ipl<TAB> -d /home/user/MyDocs/.vid<TAB><SPACE>http://www.bbc.co.uk/mobile/iplayer/episode/b00pssgh<RETURN>
  8. This should start the download of "The Secret Life of the Dog", Three possible problems: Your IP address is not in range. The URL has expired, but this URL should be good until April 2010. Or the URL might be mistyped.
  9. The video should show up automatically in the built-in media player after download. A couple of the videos took a minute or two to show up.
  10. I cheated a bit when I gave the URL above, as I used an iPhone (or faking being an iPhone) to make sure the show was available for the iPhone. Not all shows are. This is something that will be need to be addressed when this gets packaged up as a real app.

For completeness, here is a short list of URLs that have worked for me. Note the similarity of the filenames, it will be easier for you to type these in if you use the "up" arrow in the xterminal, and then the other arrow keys and backcspace.
 
Posts: 15 | Thanked: 1 time | Joined on Jan 2010
#148
Originally Posted by Alan_Peery View Post
  1. Start new xterm
  2. type the command "id", it should say you're running as user "user"
  3. type "ip", followed by selecting the "Tab" listed on the bottom of the x terminal window
  4. You should get a listing of the commands beginning with "ip" on the N900, including "iplayer". This means that the iplayer-dl package has been installed.
  5. Don't get too excited by the "iplayer-dl-gui" entry you see. Mine doens't work, probably because this is a work in progress.
  6. Now that you've verified that iplayer-dl is present, just hit Return to get out of filename complettion mode.
  7. Now, enter the real command. I'll write is as I would type the keystrokes using auto-completion. ipl<TAB> -d /home/user/MyDocs/.vid<TAB><SPACE>http://www.bbc.co.uk/mobile/iplayer/episode/b00pssgh<RETURN>
  8. This should start the download of "The Secret Life of the Dog", Three possible problems: Your IP address is not in range. The URL has expired, but this URL should be good until April 2010. Or the URL might be mistyped.
  9. The video should show up automatically in the built-in media player after download. A couple of the videos took a minute or two to show up.
  10. I cheated a bit when I gave the URL above, as I used an iPhone (or faking being an iPhone) to make sure the show was available for the iPhone. Not all shows are. This is something that will be need to be addressed when this gets packaged up as a real app.

For completeness, here is a short list of URLs that have worked for me. Note the similarity of the filenames, it will be easier for you to type these in if you use the "up" arrow in the xterminal, and then the other arrow keys and backcspace.
This has been very helpful thankyou.

However whilst I can verify that iplayer-dl is present by doing what you say, along with the gui entry too, when I complete the real command lower down for the Hidden Libraries of Timbuktu, I again get "iplayer not found" lol!

Please advise me more - this syntax is extremely complicated and is not understood at all so please no "auto-completions or syntax with << or >>'s in them - just a straight forward text string please as DOS went out years ago and whilst I half get it right I'm probably doing something wrong.

After verifying that I have iplayer-dl (but god knows where!) I pressed enter then entered the real command. Don't I have to do something as user first? Just a thought - I am confused - so please step by step 1, 2 and 3 and so forth, no gobbledegook and ensure you tell me what other entries I need to type after opening terminal.

Ta much

I'm sure I will get there - I'm learning so please be patient! lol!

roz

Last edited by rozel; 2010-01-24 at 19:06.
 
Posts: 15 | Thanked: 1 time | Joined on Jan 2010
#149
BTW when I typed id, I got something like 29999 (user) - is that ok?

roz
 
Posts: 28 | Thanked: 0 times | Joined on Jan 2010 @ Merseyside
#150
Thanks Jan. I checked to see if root showed up, it did, so I followed what you said and I am at present downloading Eastenders, which I can't stand, but I need to see if it plays.

Thanks for all your help.

One of the things I had awful trouble with was actually pasting something into xterminal! Although I did figure that out on my own!!!!!

On the browser on my n900 I had trouble seeing the whole of the code you were putting in. I read that you should use a text editor to do this. I tried two on my n900 but struggled with the copy and pasting in that as well Shame on me.

Thanks again though, much appreciated.

While I typed this it downloaded it and I have got it playing. Well happy. Thanks loads Excellent.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:05.