xboxscene.org forums

Pages: 1 [2]

Author Topic: Youtube Script Will Find Lists Of Videos, But Then Locks Up  (Read 186 times)

ressurectionx

  • Archived User
  • Hero Member
  • *
  • Posts: 2778
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #15 on: January 20, 2008, 03:43:00 AM »

I never got this to work.  I just gave up on it, but after hearing that guy talking about watching his favorite guitar teacher from the XBox, I might give it another whirl.  Frustrating thing for noobs, these Python scripts.  

Why should anybody have to change that line in the script?  Why isn't that line MPLAYER instead of DVDPLAYER when you get it?
Logged

whocarez

  • Archived User
  • Newbie
  • *
  • Posts: 1
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #16 on: January 24, 2008, 09:38:00 AM »

i donwnload youtube videos on navi-x script, It cant play it online, so I search the video, select it and press the white button from the controller(or black one, i dont remember) and put the video on the download qeue, after selecting the video and puting on the download quee it will ask the directory where you wanna record it, choose, then after selecting and puting on the download queue all the videos you want, go to the left menu, and choose download, then  go to the queues directory, and press the white button again on them, and select download queed....to alll

thennnnnnnnnnn after all, go on the left menu again on download and press the A button, then will start all youtube downloads, to see them go to the directory where you downloaded, and select the video(white button again) to play with dvd player

this is what i doo
Logged

updogg

  • Archived User
  • Newbie
  • *
  • Posts: 12
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #17 on: February 06, 2008, 08:27:00 PM »

I couldn't watch youtube movies when xbmc was loaded in 1080i, once i switched to 720p they loaded fine.. maybe that is your problem?
Logged

cool_jr256

  • Archived User
  • Newbie
  • *
  • Posts: 2
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #18 on: March 04, 2008, 10:16:00 PM »

CODE

the_t_reg = str('var fullscreenUrl = \'\/watch_fullscreen[?].*[&]t=.*\'')

--Step 3:

then find the following function:

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!!!!!
Logged

Infamous Ob

  • Archived User
  • Hero Member
  • *
  • Posts: 797
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #19 on: March 08, 2008, 11:14:00 PM »

I installed the first new scriot setup and my videos wern't working either, so Im hoping doing the

"self.player = xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER)

self.player = xbmc.Player(xbmc.PLAYER_CORE_MPLAYER)"

edit will help. And how can I connect my XBMC to my Wireless G Adpater network for high speed internet? I use a wireless G adapter for high speed internet, but I have another seperate Dial-Up connection for XBMC. How can I get the XBMC over to my Wireless Adapter? Thanks.
Logged

SkiDragon

  • Archived User
  • Newbie
  • *
  • Posts: 10
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #20 on: March 24, 2008, 02:08:00 AM »

QUOTE(cool_jr256 @ Mar 5 2008, 01:52 AM) View Post

For all you YouTube lovers out there.  If you want the 1.8b version to work, here is my solution:

--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:

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!!!!!



I did this, and it still didn't work. I am running XBMC at 720p, but the videos switch to 1080i while playing.

The older YouTube script with the other fix above does work.
Logged
Pages: 1 [2]