XBMC Community Forum
[RELEASE] YouTube3 - YouTube Script - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] YouTube3 - YouTube Script (/showthread.php?tid=33585)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


- wwboy - 2008-10-05 22:03

it doesn't start on my xbox
when I try to start it nothing happens


- fmark - 2008-11-13 10:24

Great script. Thank you !

I have some question. Is it possible to make a search in different languages ? Not only in English. I'm actually interested in Russian keyboard layout. Smile


Thanks.


- borick - 2008-11-13 17:07

To those requesting higher quality...

Unfortunately, I haven't had my XBOX with me, I'm traveling on business trip for a few months so I can't test these changes.

Here's something you can try if you are technically inclined:

in the youtube.py file, on line 85... change the line to:

self.video_url = self.base_url + '/?fmt=18&v=%s'

The upload the file to your YouTube3 scripts folder

I haven't tested to see if this results in a higher quality format. This would hard-code to always try and use the higher quality, as far as I know. If anyone tries this and it works, please let me know and I will include an updated release.


- ozzieguy - 2008-11-15 08:02

Yes borick it certainly made a difference.
Many thanks yet again.


- timdog82001 - 2008-11-17 03:02

touser Wrote:clean install of hardy, latest hardy ppa xbmc build. When i launch version 3.1 it will bring the gui up, go through the "downloading" pop up "view: full list" and then crash. If i cancel it before it has had time to complete it will stay in the scrips but as soon as i select anything it crashes.

i have this same problem only with intrepid


- dobbley - 2008-11-23 04:00

I've been using v3.2 of the script on Linux (Mythdora and Atlantis) with great results. Many thanks for an excellent script.

The only issue I had was the same as watty, where the buttons (search, feeds, etc) overlapped the thumbs and descriptions. This was fixed if the <width> and <height> tags in youtube.xml were placed with the individual button parameters, as they weren't inherited from the group.

I found that to get high quality I also needed to add fmt=18 to line 84 of youtube.py as:
self.stream_url = self.base_url + '/get_video?video_id=%s&t=%s&fmt=18'

This had the unexpected bonus of decreasing the buffering time.

Cheers.


- borick - 2008-11-23 23:25

dobbley,

I'm very glad you got it working on Linux. If you like, you can e-mail me your changes or provide them to me, I can add that to a new release and give you full credit. Up to you.

Thanks & Regards,
Boris

dobbley Wrote:I've been using v3.2 of the script on Linux (Mythdora and Atlantis) with great results. Many thanks for an excellent script.

The only issue I had was the same as watty, where the buttons (search, feeds, etc) overlapped the thumbs and descriptions. This was fixed if the <width> and <height> tags in youtube.xml were placed with the individual button parameters, as they weren't inherited from the group.

I found that to get high quality I also needed to add fmt=18 to line 84 of youtube.py as:
self.stream_url = self.base_url + '/get_video?video_id=%s&t=%s&fmt=18'

This had the unexpected bonus of decreasing the buffering time.

Cheers.



- Volucris - 2008-11-24 00:42

Can't get it to work on my xbox so far. I did a fresh install of xbmc today (latest t3ch build) and put the youtube script v3.2 on it. When running the script, however, I see the script's main screen for like half a second and then it just closes, without any feedback.

The xbmc.log says this:
Code:
23:20:53 M: 16728064  NOTICE: -->Python Initialized<--
23:20:53 M: 16728064  NOTICE:
23:20:57 M: 23556096 WARNING: CUtil::GetMatchingSource... no matching source found for [?]
23:20:57 M: 23556096   ERROR: CVirtualDirectory::GetDirectory(?) matches no valid source, getting root source list instead
23:20:57 M: 23556096   ERROR: CGUIMediaWindow::GetDirectory(?) failed
23:20:57 M: 19283968  NOTICE: Exception (init): exceptions.KeyError
23:20:57 M: 19283968  NOTICE: Traceback (most recent call last):
23:20:57 M: 19283968  NOTICE:   File "Q:\scripts\YouTube\default.py", line 66, in onInit
23:20:57 M: 19283968  NOTICE:     history = self.get_search_history()
23:20:57 M: 19283968  NOTICE:   File "Q:\scripts\YouTube\default.py", line 169, in get_search_history
23:20:57 M: 19283968  NOTICE:     history_list = pickle.load(f)
23:20:57 M: 19283968  NOTICE:   File "Q:\system\python\python24.zlib\pickle.py", line 1390, in load
23:20:57 M: 19283968  NOTICE:   File "Q:\system\python\python24.zlib\pickle.py", line 872, in load
23:20:57 M: 19283968  NOTICE: KeyError: '\n'
23:20:58 M: 14606336  NOTICE:
23:20:58 M: 14606336  NOTICE:
23:20:58 M: 14606336   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block Q:\scripts\YouTube

Any ideas, anyone?


- timdog82001 - 2008-11-27 03:33

It looks like this script now works in the newest version of the svn on linux. It wasnt working (for me, at least) with the Atlantis release.


- timdog82001 - 2008-11-27 10:15

After trying it out some more though, in linux at least all the videos have a video lag. The audio is pretty far out of sync.