View Single Post
Posts: 196 | Thanked: 141 times | Joined on Aug 2007
#6
Originally Posted by Fatalist View Post
Hello,
I can't see YouTube videos on my N810, i have installed Canola with the YouTube plugin, Mediabox, mytube... Mediabox says "error". Only with MicroB can see them in the browser, but slow. This can be for some reason? Or these programs are not updated and they don't work actually...
Neither canola nor mediabox are being maintained although the author of mediabox is still on maemo.org.

Up until recently one had two options for youtube on an N8x0 device.

A specific web browser (tear) going to a specific website (m.youtube.com) and a specific video grabbing script (which I can't remember the name of). Obviously this is not the method I use but it was used by maemo.org user Addison. PM Addison for more info on this method. This method only requires downloading two things, one of which is available straight from the diablo extras repository.

The other method, which I use, involves downloading 3 or more things but has the advantage of bypassing youtube's user facing websites completely and just pulling the file from their servers (which also means you don't get the "you can't see this file on a mobile device" error) and no commercials. This method involves downloading mytube. Then downloading mytubepatch. These should both be done through the usual application manager. Then download this deb. This will install a file called getpass.py and an obsolete version of youtube-dl-x. Next replace this obsolete version with the latest version of youtube-dl from this website . I believe you'll have to rename it to youtube-dl-x (note the lack of an extension). Actually the file there does not appear to be a text file (I think they screwed up) So instead just download the tar file also listed in that page and extract the youtube-dl file there. Rename and copy it to someplace where the system will find it /usr/bin is typical I believe. Finally, go into from mytube's context menu choose preferences/more, choose the youtube-dl tab, type in the following:
Code:
Code:
youtube-dl-x -f 5 -o %d -- %s
. See also this post where I describe the same steps (more or less). Also this post where I also talk about the same thing (more or less). I think one of these threads also discusses Addison's method as well. Can you tell I'm tired of talking about this?

Oh one last note, this will allow downloading of files but does not allow playing the video until it is fully downloaded and does not give feedback on how much of the file has been downloaded. But if it spins for more than 30 seconds, you can assume it is working. It will let you know when it is done. Really I wish someone would package all of this crap together and call it mytube 1.6. If I ever learn to write actual python and practice packaging debs I'll do it myself.
 

The Following User Says Thank You to jcharpak For This Useful Post: