Edsal
|
2010-06-25
, 18:28
|
Posts: 66 |
Thanked: 11 times |
Joined on Jan 2010
|
#71
|
|
2010-06-25
, 18:29
|
Posts: 66 |
Thanked: 11 times |
Joined on Jan 2010
|
#72
|
|
2010-06-25
, 20:43
|
Posts: 53 |
Thanked: 17 times |
Joined on Apr 2010
|
#73
|
|
2010-06-25
, 21:04
|
Posts: 15 |
Thanked: 36 times |
Joined on Dec 2009
|
#74
|
] ...
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 ]
for wanted in format_priorities: if wanted in formats_available: format, rest_ = wanted.split('/', 1) fmt_id = int(format) available.append(fmt_id)
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 ]
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', ]
else: formats_available = [] print "formats available: %r" % (formats_available,) # This is the proritized list of formats that zoutube will
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
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.
|
2010-06-29
, 18:47
|
Posts: 53 |
Thanked: 17 times |
Joined on Apr 2010
|
#75
|
|
2010-07-10
, 14:35
|
Posts: 118 |
Thanked: 15 times |
Joined on Jul 2010
|
#76
|
|
2010-07-10
, 15:22
|
|
Posts: 664 |
Thanked: 160 times |
Joined on Jul 2008
@ Australia
|
#77
|
|
2010-07-16
, 07:53
|
Posts: 142 |
Thanked: 120 times |
Joined on Jul 2010
|
#78
|
|
2010-07-28
, 09:32
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#79
|
|
2010-07-28
, 23:08
|
|
Posts: 115 |
Thanked: 18 times |
Joined on Jan 2010
|
#80
|