Reply
Thread Tools
Posts: 98 | Thanked: 3 times | Joined on Nov 2007 @ Knightdale, NC
#11
Originally Posted by dal View Post
This is what i get when i launch mytube 0.09.
There are just buttons with a blank screen.
The following is the output upon startup:

/ $ mytube
/usr/lib/python2.5/site-packages/mytube/guimytube.py:519: GtkWarning: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
self.window.set_menu(file_menu)
/usr/lib/python2.5/site-packages/mytube/ystorage.py:80: GtkWarning: gdk_pixbuf_new_from_file_at_scale: assertion `width > 0 && height > 0' failed
img = gtk.gdk.pixbuf_new_from_file_at_size(YStorage.getI mgPath(filename), w, h)

Same issue here
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#12
Open /usr/lib/python2.5/site-packages/mytube/ystorage.py

and on line 80 change

Code:
img = gtk.gdk.pixbuf_new_from_file_at_size(YStorage.getImgPath(filename), w, h)
to
Code:
img = gtk.gdk.pixbuf_new_from_file(YStorage.getImgPath(filename))
Then it will work. One advice - don't try to play the file while it is downloaded - mplayer may hang. Otherwise it plays great.

Another thing: I think mplayer version 24 fares generally better with flv

Last edited by Bundyo; 2008-03-21 at 10:44.
 

The Following 3 Users Say Thank You to Bundyo For This Useful Post:
Posts: 32 | Thanked: 1 time | Joined on Jul 2007
#13
Thanks a million Bundyo. This worked for me.
 
Posts: 98 | Thanked: 3 times | Joined on Nov 2007 @ Knightdale, NC
#14
Originally Posted by Bundyo View Post
Open /usr/lib/python2.5/site-packages/mytube/ystorage.py

and on line 80 change

Code:
img = gtk.gdk.pixbuf_new_from_file_at_size(YStorage.getImgPath(filename), w, h)
to
Code:
img = gtk.gdk.pixbuf_new_from_file(YStorage.getImgPath(filename))
Then it will work. One advice - don't try to play the file while it is downloaded - mplayer may hang. Otherwise it plays great.

Another thing: I think mplayer version 24 fares generally better with flv
Hi Linux dummy here, but trying to learn. Can you tell me what app I need to use to do this and how?
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#15
Easiest is to use ssh and vi. ssh to the device (you can also use Putty) and type

Code:
vi /usr/lib/python2.5/site-packages/mytube/ystorage.py
then navigate to the said row and press Insert key, then edit the row and after you're sure you've edited it and touched nothing else, press Esc, type

Code:
:wq
and press Enter. That's all.

If you're not familiar with vi, you can install mc and type this:

Code:
mc -e /usr/lib/python2.5/site-packages/mytube/ystorage.py
then edit the row and press F2 and F10.
 
Posts: 204 | Thanked: 15 times | Joined on Jan 2007 @ Berlin, Germany
#16
Originally Posted by Bundyo View Post
Open /usr/lib/python2.5/site-packages/mytube/ystorage.py

and on line 80 change ...
This solved that same issue on n800 OS2007 for me. Thanks a lot!
 
Posts: 179 | Thanked: 47 times | Joined on Oct 2007
#17
I just use Orb 2.0. YouTube is already there under Video->Online Video. It also can search Google video, Yahoo video, Gube etc. It works great on my OS2006 770.
P.S. OS2007HE doesn't play orb video.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#18
I don't understand - did someone asked about Orb?
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:55.