Active Topics

 



Notices


Reply
Thread Tools
Posts: 66 | Thanked: 11 times | Joined on Jan 2010
#71
say what ! anybody speaking english here i have no idea what's being said !
 
Posts: 66 | Thanked: 11 times | Joined on Jan 2010
#72
my zoutube not working and that's all i can say i hope it get's fix soon .
 
Posts: 53 | Thanked: 17 times | Joined on Apr 2010
#73
I have attached my modified file to this post, unzip it and transfer it onto your N900.
Install rootsh if you not already have and open the terminal window.
enter the following commands exactly as shown (they are case sensitive).

sudo gainroot

cd /opt/zoutube/

mv zoutube ztbackup

(if you have transferred it using mass storage mode without putting it into a subfolder, the following should work)

cp /home/user/MyDocs/zoutube ./ (don't forget the dot)

chmod 755 zoutube (to make sure the permissions are set correctly)

And you are done.
Attached Files
File Type: zip zoutube.zip (6.7 KB, 297 views)
 

The Following 5 Users Say Thank You to tho For This Useful Post:
Posts: 15 | Thanked: 36 times | Joined on Dec 2009
#74
Originally Posted by daperl View Post
] ...
Code:
        format_priorities = [
                '22/2000000/9/0/115', # 1280x720
                '35/640000/9/0/115',  # 640x360
                '18/512000/9/0/115',  # 480x270
                '34/0/9/0/115',       # 320x180
                '5/0/7/0/0',          # 320x180
        ]

Seems like we might have a problem right here. You see zoutube prints out:

"formats available: ['34/640x360/9/0/115', '5/320x240/7/0/0']" (random sample)

While none of these are included in format_priorities.
This seems to result in variable 'format' never getting a value. Then again I haven't read the whole code.

Part I'm refering to:
Code:
        for wanted in format_priorities:
            if wanted in formats_available:
                format, rest_ = wanted.split('/', 1)
                fmt_id = int(format)
                available.append(fmt_id)
edit1:

I managed to get the quality selector to work. by changing
Code:
        format_priorities = [
                '22/2000000/9/0/115', # 1280x720
                '35/640000/9/0/115',  # 640x360
                '18/512000/9/0/115',  # 480x270
                '34/0/9/0/115',       # 320x180
                '5/0/7/0/0',          # 320x180
        ]
to

Code:
  
        format_priorities = [
                '22/2000000/9/0/115', # 1280x720
                '35/854x480/9/0/115',
                '34/640x360/9/0/115',
 #               '35/640000/9/0/115',  # 640x360
                '18/512000/9/0/115',  # 480x270
 #               '34/0/9/0/115',       # 320x180
  #              '5/0/7/0/0',          # 320x180
                '5/320x240/7/0/0',
        ]
Only "bad quality" will show up, that is due to the line:
" if fmt != 22 and fmt != 35 and fmt != 34:"
fmt=18 is still missing. Could be a broken parser.

edit2: Can somebody confirm that fmt 18 isn't even included in the webpage source? Seems like it is a default option and it is available format for all videos.

edit3: If that's the case then
line 176-178
Code:
 
            else:
                formats_available = []
        print "formats available: %r" % (formats_available,)
        # This is the proritized list of formats that zoutube will
should be changed to:
Code:
            else:
                formats_available = []
        #add the default format (18)
        formats_available.append('18/512000/9/0/115')
        print "formats available: %r" % (formats_available,)
        # This is the proritized list of formats that zoutube will
edit4: Included an attachment with patched zoutube(from 0.2-3) file and the patch itself for closer inspection.

Refer tho's post for installation instructions. (remember to thank him!)

Originally Posted by tho View Post
I have attached my modified file to this post, unzip it and transfer it onto your N900.
Install rootsh if you not already have and open the terminal window.
enter the following commands exactly as shown (they are case sensitive).

sudo gainroot

cd /opt/zoutube/

mv zoutube ztbackup

(if you have transferred it using mass storage mode without putting it into a subfolder, the following should work)

cp /home/user/MyDocs/zoutube ./ (don't forget the dot)

chmod 755 zoutube (to make sure the permissions are set correctly)

And you are done.
Attached Files
File Type: zip zoutube 6-26-2010.zip (7.1 KB, 254 views)

Last edited by Hoxzer; 2010-06-26 at 14:15.
 

The Following 2 Users Say Thank You to Hoxzer For This Useful Post:
Posts: 53 | Thanked: 17 times | Joined on Apr 2010
#75
Thanks Hoxzer, your modified file works great.
 
Posts: 118 | Thanked: 15 times | Joined on Jul 2010
#76
thanks for the modding for zoutube and now my zoutube working well.

May i know good quality always go for 480p if the source provide the format?
 
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#77
thanks hoxzer now thats what I'm talking about.
 
Posts: 142 | Thanked: 120 times | Joined on Jul 2010
#78
ahhhh... finally _I have Zoutube working ! Great!
Thanks to tho and Hoxzer!

Only problem is that' it's a blit slow to load page you searched for. Mytube is much faster by me.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#79
Media player shows "No connection to server for me". Download takes me to a blank page/redirect.
I was going to update the package with the above fix but it still seems to be broken :/
 
kazuki's Avatar
Posts: 115 | Thanked: 18 times | Joined on Jan 2010
#80
Mine too, just happened the last few days. I remember it was still working fine last week.
 
Reply

Tags
youtube


 
Forum Jump


All times are GMT. The time now is 22:06.