maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Youtube download script (https://talk.maemo.org/showthread.php?t=74114)

Straycat 2011-09-05 08:52

Re: Youtube download script
 
Quote:

Originally Posted by auouymous (Post 1081502)
Did you download the latest version of the youtube-dl script linked to from the mytube thread?

Yes. But it seems to do nothing. No percent, no download, no play at all...

n9ots 2011-09-05 12:30

Re: Youtube download script
 
the newest script does not show percentage ... only the spinning bar.
once the bar stops spinning the download is complete.
if you are not getting the magic spinning bar make sure that the string in mytube settings ( preferences - more - youtube-dl) reads "youtube-dl-x -f 5 -o %d -- %s" (minus the quotes)

good luck

Straycat 2011-09-05 14:48

Re: Youtube download script
 
Wow. My script does nothing at all. And I think the settings are right.

Mine is same as yours?? Could someone post here the magic script.

Thanks in advance.

n9ots 2011-09-05 17:31

Re: Youtube download script
 
the script I am using is from this post:
http://talk.maemo.org/showpost.php?p...&postcount=418

and the placement and chmod instructions from this post:
http://talk.maemo.org/showpost.php?p...&postcount=410

you may need the getpass.py script. instructions can be found here:
http://talk.maemo.org/showpost.php?p=405435&postcount=5

Straycat 2011-09-05 17:40

Re: Youtube download script
 
Quote:

Originally Posted by n9ots (Post 1082363)
the script I am using is from this post:
http://talk.maemo.org/showpost.php?p...&postcount=418

Thanks.

But I'm unable to download any file from there. I just can see the text of the script.

Quote:

Originally Posted by n9ots (Post 1082363)
and the placement and chmod instructions from this post:
http://talk.maemo.org/showpost.php?p...&postcount=410

Thanks again. I had the previous script on MyDocuments folder to avoid permissions troubles. I think this way isn't neccesary the chmod thing, right?

Quote:

Originally Posted by n9ots (Post 1082363)
you may need the getpass.py script. instructions can be found here:
http://talk.maemo.org/showpost.php?p=405435&postcount=5

Again thanks. I have already the getpass script because without it even the previous script won't work.

I will try again and let you know.

Best regards.

auouymous 2011-09-06 13:33

Re: Youtube download script
 
Quote:

Originally Posted by Straycat (Post 1082366)
But I'm unable to download any file from there. I just can see the text of the script.

Right-click the link and save-as. If you are downloading on tablet then long press on the link might bring up save-as, not sure. Or you can use
Code:

wget https://github.com/rg3/youtube-dl/raw/2011.08.04/youtube-dl --no-check-certificate
from a terminal on the tablet. Replace "wget" with "maemo-mini-curl" if you haven't installed it.


Quote:

Originally Posted by Straycat (Post 1082366)
I had the previous script on MyDocuments folder to avoid permissions troubles. I think this way isn't neccesary the chmod thing, right?

Doesn't matter where the file is located, the chmod allows it to be executed without explicitly passing it to the python interpreter.

Straycat 2011-09-07 08:21

Re: Youtube download script
 
Thank you all.

Yesterday I was able to get mytube working again. But, IMHO, when the old script was perfect this new one is just very good.


All times are GMT. The time now is 16:10.

vBulletin® Version 3.8.8