2008-03-06, 04:02
Sorry, I should have posted this as a new topic from the get go.....
I have tested the fix with some of the functionality like 'Search..' but I don't have time to test all..
For all you YouTube lovers out there. If you want the 1.8b version to work, here is my solution:
--Step 0:
I'd suggest a fresh build of XBMC (I always like to work with the latest) as well as the YouTube 1.8b script. Make sure your XBOX is setup for the internet correctly, otherwise this will not work...
Good Luck!!!
--Step 1:
edit the 'default.py' script
--Step 2:
hash out the 'the_t_reg' line
add this one:
--Step 3:
then find the following function:
--Step 4:
Replace the entire function with:
--Step 5:
Enjoy!!!!!
I have tested the fix with some of the functionality like 'Search..' but I don't have time to test all..
For all you YouTube lovers out there. If you want the 1.8b version to work, here is my solution:
--Step 0:
I'd suggest a fresh build of XBMC (I always like to work with the latest) as well as the YouTube 1.8b script. Make sure your XBOX is setup for the internet correctly, otherwise this will not work...
Good Luck!!!
--Step 1:
edit the 'default.py' script
--Step 2:
hash out the 'the_t_reg' line
add this one:
Code:
the_t_reg = str('var fullscreenUrl = \'\/watch_fullscreen[?].*[&]t=.*\'')
--Step 3:
then find the following function:
Code:
def newTvalie(self,id):
--Step 4:
Replace the entire function with:
Code:
def newTvalie(self,id):
url = base_t_url + id
dp = xbmcgui.DialogProgress()
dp.create("YouTube.com","Getting Session ID")
t = urllib.urlopen(url)
dat = t.read()
t.close()
dp.close()
info = re.search(the_t_reg, dat,re.IGNORECASE)
info_list = re.split('&t=',info.group(0))
info_list = re.split('&',info_list[1])
return info_list[0]
--Step 5:
Enjoy!!!!!