Active Topics

 



Notices


Reply
Thread Tools
Posts: 28 | Thanked: 9 times | Joined on Nov 2009
#291
Ok I've uploaded the modified and working script to here:
http://wikisend.com/download/437498/youtube-dl
It seems to be working on my Nokia fine. Remember you will also need to download the getpass.py
posted by liquid217 above. You need to put the getpass.py in your /usr/lib/python2.5/site-packages

You need to place youtube-dl in
/usr/bin/

you need to make sure the permissions on the youtube-dl script are correct.

as root type:
chmod 755 /usr/bin/youtube-dl

You also need to go to mytube>preferences>more>youtube-dl and change
youtube-dl-x
to
youtube-dl
leave the rest of the options the same.
Good Luck!

Last edited by Engmex; 2010-04-12 at 04:52.
 

The Following 3 Users Say Thank You to Engmex For This Useful Post:
Posts: 28 | Thanked: 9 times | Joined on Nov 2009
#292
Thanks to you liquid for working out that we only needed to change the stdout, without that I wouldn't have known where to begin.
 
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#293
Originally Posted by Engmex View Post
Ok I've uploaded the modified and working script to here:
http://wikisend.com/download/437498/youtube-dl
It seems to be working on my Nokia fine. Remember you will also need to download the getpass.py
posted by liquid217 above. You need to put the getpass.py in your /usr/lib/python2.5/site-packages
you need to make sure the permissions on the youtube-dl script are correct.

as root type:
chmod 755 /usr/bin/youtube-dl

You also need to go to mytube>preferences>more>youtube-dl and change
youtube-dl-x
to
youtube-dl
leave the rest of the options the same.
Good Luck!
Thanks, guys! That worked.

Trivial inconsistency: one of you put getpass.py in /usr/lib/python2.5/site-packages/ and the other put it in /usr/lib/python2.5/ So I put it in both -- messy, I guess, but no problem so far.

Still no download percent indicator, but no big deal, either.

Great to have YouTube back on my N800!
 
Posts: 7 | Thanked: 0 times | Joined on Nov 2009
#294
hi, sorry for the noob question, but how do i get the getpass.py into the /usr/lib/python directory? i don't know how to access the directory
 
Posts: 28 | Thanked: 9 times | Joined on Nov 2009
#295
Originally Posted by GeraldKo View Post
Still no download percent indicator, but no big deal, either.

Great to have YouTube back on my N800!
The percent indicator is working here!
 
Posts: 28 | Thanked: 9 times | Joined on Nov 2009
#296
Originally Posted by barg0n View Post
hi, sorry for the noob question, but how do i get the getpass.py into the /usr/lib/python directory? i don't know how to access the directory
You need to become root I think the easiest way is to install the sudser package then.
open an x-terminal maybe you need to install the x-terminal package too.
in the x-terminal type:
cd /home/user/where you placed the downloaded files
then
sudo cp youtube-dl /usr/bin/
sudo cp getpass.py /usr/lib/python2.5/site-packages
sudo chmod 755 /usr/bin/youtube-dl
 
Posts: 7 | Thanked: 0 times | Joined on Nov 2009
#297
Originally Posted by Engmex View Post
You need to become root I think the easiest way is to install the sudser package then.
open an x-terminal maybe you need to install the x-terminal package too.
in the x-terminal type:
cd /home/user/where you placed the downloaded files
then
sudo cp youtube-dl /usr/bin/
sudo cp getpass.py /usr/lib/python2.5/site-packages
sudo chmod 755 /usr/bin/youtube-dl
thanks for the quick reply
ive placed it on my external memory but i’m not sure what to type in cause
cd /home/user/Removable memory card/ doesn’t work.
 
Posts: 52 | Thanked: 49 times | Joined on Feb 2008
#298
Honestly, I think the easiest method would be to install an ssh server on the tablet, then use an sftp client on the PC/MAC/Linux machine. I personally use Filezilla. Get the IP address of your tablet, and plug that information into filezilla. (To find this open the Connection manager and select Internet connection > IP address from the menu.) You will also need the root password, which you should set up when installing ssh.
Then, it's just a matter of navigating to the 2 directories and copying the files over. You can also chmod (change permissions) right from filezilla by right clicking on the files once they are copied over.

I don't think it really matters if you copy getpass.py to /usr/lib/python2.5/site-packages or /usr/lib/python2.5. I think python probably looks at both folders internally for any dependencies it needs.

http://filezilla-project.org/
 

The Following User Says Thank You to liquid217 For This Useful Post:
Posts: 28 | Thanked: 9 times | Joined on Nov 2009
#299
Originally Posted by barg0n View Post
thanks for the quick reply
ive placed it on my external memory but i’m not sure what to type in cause
cd /home/user/Removable memory card/ doesn’t work.
Read this!

http://www.ee.surrey.ac.uk/Teaching/Unix/

The external memory card files are in
/media/mmc1
so
cd /media/mmc1

Last edited by Engmex; 2010-04-12 at 15:22.
 
Posts: 7 | Thanked: 0 times | Joined on Nov 2009
#300
Originally Posted by liquid217 View Post
Honestly, I think the easiest method would be to install an ssh server on the tablet, then use an sftp client on the PC/MAC/Linux machine. I personally use Filezilla. Get the IP address of your tablet, and plug that information into filezilla. (To find this open the Connection manager and select Internet connection > IP address from the menu.) You will also need the root password, which you should set up when installing ssh.
Then, it's just a matter of navigating to the 2 directories and copying the files over. You can also chmod (change permissions) right from filezilla by right clicking on the files once they are copied over.

I don't think it really matters if you copy getpass.py to /usr/lib/python2.5/site-packages or /usr/lib/python2.5. I think python probably looks at both folders internally for any dependencies it needs.

http://filezilla-project.org/
thanks for your input. i installed both filezilla and openssh client and server. however, it hasn't asked me to set up a root password, so i'm a little stuck now. and looking at filezilla, will it ask me to set up a username as well? or is the username the name of the device?


Originally Posted by Engmex View Post
Read this!

http://www.ee.surrey.ac.uk/Teaching/Unix/

The external memory card files are in
/media/mmc1
so
cd /media/mmc1
thank you. after typing in cd /media/mmc1 it goes from ~$ to /media/mmc1 $
and when i try typing in sudo cp youtube-dl /usr/bin/ it gives me
cp: cannot stat 'youtube-dl'? No such file or directory
so i'm still a little stuck. but in the meantime i'll be reading the article you sent me, thanks
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:36.