xboxscene.org forums

Pages: [1] 2

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

geoman2k

  • Archived User
  • Newbie
  • *
  • Posts: 4
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« on: September 17, 2007, 12:25:00 AM »

so i'm trying to get youtube to play on my xbmc. i downloaded the newest version of xbmc from xbins (not really xbins but an ftp xbins pointed me to), put it on my xbox and loaded it up. i went to the scripts, found the youtube script and it looked like it was working fine. i went to the user videos section and entered the name of my favorite guitar lesson teacher (JustinSandercoe). it found all of his videos and listed them all out.... but then i selected one and nothing happened. i was still able to scroll through the videos, but all of the other buttongs on my controller stopped working, and i had to reboot.
that is about all the info i can give. does anyone have any idea why this is happening? i stream videos from my computer to my 360 all the time and it works fine, so i doubt there is a network problem outside of the xbox itself.

any help would be great. really sorry if this is a newb question, please don't get mad (IMG:style_emoticons/default/tongue.gif)
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #1 on: September 17, 2007, 03:20:00 AM »

If you hold X+Y when XBMC loads, it'll go into debug mode. Try and play your video as before, and if it crashes, restart and grab a copy of the log file generated in your XBMC folder (xbmc.old.log). That'll contain some information as to what went wrong.
Logged

sadlytragic

  • Archived User
  • Newbie
  • *
  • Posts: 5
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #2 on: September 18, 2007, 09:32:00 PM »

QUOTE(Bomb Bloke @ Sep 17 2007, 10:56 AM) *

If you hold X+Y when XBMC loads, it'll go into debug mode. Try and play your video as before, and if it crashes, restart and grab a copy of the log file generated in your XBMC folder (xbmc.old.log). That'll contain some information as to what went wrong.


I dont know about the guy who posted but this is mine.

CODE
20:54:46 M: 52957184  NOTICE: -----------------------------------------------------------------------
20:54:46 M: 52936704  NOTICE: Starting XBoxMediaCenter.  Built on Nov 12 2006
20:54:46 M: 52936704  NOTICE: Q is mapped to: Harddisk0\Partition1\Apps\XBMC
20:54:46 M: 52936704  NOTICE: Log File is located: Q:\xbmc.log
20:54:46 M: 52936704  NOTICE: -----------------------------------------------------------------------
20:54:46 M: 52936704  NOTICE: Setup DirectX
20:54:46 M: 52912128  NOTICE: load settings...
20:54:46 M: 52912128  NOTICE: loading T:\guisettings.xml
20:54:46 M: 52772864  NOTICE: Getting hardware information now...
20:54:46 M: 52772864  NOTICE: Checking resolution 10
20:54:46 M: 52772864  NOTICE: Setting autoresolution mode 4
20:54:46 M: 52772864  NOTICE: Per AV pack settings are off
20:54:46 M: 52867072  NOTICE: q:\userdata\sources.xml
20:54:49 M: 48844800  NOTICE: loaded Q:\system\players\mplayer\ISO639-1.xml
20:54:49 M: 49184768  NOTICE: loaded Q:\system\players\mplayer\ISO639-2.xml
20:54:50 M: 49135616  NOTICE: Checking the Date!
20:54:50 M: 49135616  NOTICE: start dvd mediatype detection
20:54:50 M: 48611328  NOTICE: initializing playlistplayer
20:54:50 M: 48611328  NOTICE: load default skin:[Project Mayhem III]
20:54:50 M: 47083520 WARNING: use dashboard
20:54:50 M: 47087616  NOTICE: initialize done
20:54:50 M: 47091712  NOTICE: Running the application...
20:54:51 M: 41021440  NOTICE: XBFileZilla: Starting...
20:54:51 M: 38354944  NOTICE: XBFileZilla: Started
20:55:22 M: 38985728   ERROR: Keymapping error: no such action 'q:\scripts\youtube\default.py' defined


I dont have a Q drive, lol maybe that's why?
Logged

nuka1195

  • Archived User
  • Sr. Member
  • *
  • Posts: 290
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #3 on: September 18, 2007, 10:37:00 PM »

that's not a debug log and you must have a q: drive

QUOTE
20:54:49 M: 48844800  NOTICE: loaded Q:\system\players\mplayer\ISO639-1.xml
20:54:49 M: 49184768  NOTICE: loaded Q:\system\players\mplayer\ISO639-2.xml
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #4 on: September 19, 2007, 01:51:00 AM »

Q: is a virtual drive which points to your XBMC folder.

If you don't load XBMC in debug mode, you don't get a debug log.
Logged

Party Animal

  • Archived User
  • Jr. Member
  • *
  • Posts: 75
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #5 on: September 22, 2007, 07:49:00 PM »

I'm having a similar problem... using script "YouTube2 0.93", on XBMC build 9-11-07
When streaming, I will get the first 20 seconds or so of the video, then it just stops. IDE and network indicator LEDs are still on, but no video. XBMC does not freeze, just the stream.  I run my PC on the same switch as my xbox, and I can view the same video without any problems at all. What gives?
Here's my debug output:
CODE

19:09:35 M: 99893248   DEBUG: Curl:: Debug HEAD /get_video?video_id=Z4y78gxev2I&t=OEgsToPDskLSTOyaU2xMNjsOElxvFxOV HTTP/1.1

                             User-Agent: XBMC/pre-2.1 (compatible; MSIE 6.0; Windows NT 5.1; WinampMPEG/5.09)

                             Host: www.youtube.com

                             Accept: */*
19:09:35 M: 99893248   DEBUG: Curl:: Debug HTTP/1.1 303 See Other
19:09:35 M: 99893248   DEBUG: Curl:: Debug Date: Sun, 23 Sep 2007 02:09:37 GMT
19:09:35 M: 99893248   DEBUG: Curl:: Debug Server: Apache
19:09:35 M: 99893248   DEBUG: Curl:: Debug Set-Cookie: use_hitbox=72c46ff6cbcdb7c5585c36411b6b334edAEAAAAw; path=/; domain=.youtube.com
19:09:35 M: 99893248   DEBUG: Curl:: Debug Set-Cookie: user_omniture=3756d44ab2f6fdee26892cc5805390c2dAEAAAAw; path=/; domain=.youtube.com
19:09:35 M: 99893248   DEBUG: Curl:: Debug Set-Cookie: GEO=184166c90541917ffde7bab119c6f6e7cxcAAABVUyxjYSxzYW4gZGllZ28sLCwsLDgyNQ==; path=/; domain=.youtube.com; expires=Tue, 25-Sep-2007 02:09:37 GMT
19:09:35 M: 99893248   DEBUG: Curl:: Debug Set-Cookie: VISITOR_INFO1_LIVE=z8YP3MFK7Lo; path=/; domain=.youtube.com; expires=Wed, 20-Sep-2017 02:09:37 GMT
19:09:35 M: 99893248   DEBUG: Curl:: Debug Set-Cookie: LOCALE_PREFERENCE=86d1d09eefe6b79b4068000ce05518a4dAUAAABlbl9VUw==; path=/; domain=.youtube.com; expires=Wed, 20-Sep-2017 02:09:37 GMT
19:09:35 M: 99893248   DEBUG: Curl:: Debug Cache-Control: no-cache
19:09:35 M: 99893248   DEBUG: Curl:: Debug Location: http://cache.googlevideo.com/get_video?video_id=Z4y78gxev2I&origin=lax-v294.lax.youtube.com
19:09:35 M: 99893248   DEBUG: Curl:: Debug Content-Type: text/html; charset=utf-8
19:09:35 M: 99893248   DEBUG: Curl:: Debug no chunk, no close, no size. Assume close to signal end
19:09:35 M: 99893248   DEBUG: Curl:: Debug
19:09:35 M: 99893248   DEBUG: Curl:: Debug Closing connection #0
19:09:35 M: 99893248   DEBUG: Curl:: Debug Issue another request to this URL: 'http://cache.googlevideo.com/get_video?video_id=Z4y78gxev2I&origin=lax-v294.lax.youtube.com'
19:09:35 M: 99893248   DEBUG: Curl:: Debug Disables POST, goes with HEAD
19:09:35 M: 99893248   DEBUG: Curl:: Debug About to connect() to cache.googlevideo.com port 80 (#0)
19:09:35 M: 99893248   DEBUG: Curl:: Debug   Trying 74.125.15.83...
19:09:35 M: 99893248   DEBUG: Curl:: Debug connected
19:09:35 M: 99893248   DEBUG: Curl:: Debug Connected to cache.googlevideo.com (74.125.15.83) port 80 (#0)
19:09:35 M: 99893248   DEBUG: Curl:: Debug HEAD /get_video?video_id=Z4y78gxev2I&origin=lax-v294.lax.youtube.com HTTP/1.1

                             User-Agent: XBMC/pre-2.1 (compatible; MSIE 6.0; Windows NT 5.1; WinampMPEG/5.09)

                             Host: cache.googlevideo.com

                             Accept: */*
19:09:35 M: 99893248   DEBUG: Curl:: Debug HTTP/1.1 302 Temporarily Moved
19:09:35 M: 99893248   DEBUG: Curl::
Logged

dxg836

  • Archived User
  • Newbie
  • *
  • Posts: 41
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #6 on: September 25, 2007, 04:30:00 AM »

Edit the default.py script by replacing

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

with

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

and it will work fine
Logged

Party Animal

  • Archived User
  • Jr. Member
  • *
  • Posts: 75
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #7 on: September 25, 2007, 04:21:00 PM »

QUOTE(dxg836 @ Sep 25 2007, 04:06 AM) View Post

Edit the default.py script by replacing

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

with

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

and it will work fine


It works it works!!

Thanks for your help!  beerchug.gif
Logged

andw

  • Archived User
  • Newbie
  • *
  • Posts: 21
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #8 on: September 29, 2007, 06:10:00 AM »

QUOTE(dxg836 @ Sep 25 2007, 07:06 PM) *

Edit the default.py script by replacing

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

with

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

and it will work fine

Thankyou
Logged

Rick_Son

  • Archived User
  • Newbie
  • *
  • Posts: 23
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #9 on: October 01, 2007, 07:28:00 PM »

I can't find self.player = xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER)

oh my Default.py and i'm using Youtube 1.80
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #10 on: October 03, 2007, 04:55:00 AM »

Try using a more recent YouTube script.
Logged

Rick_Son

  • Archived User
  • Newbie
  • *
  • Posts: 23
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #11 on: October 03, 2007, 05:28:00 PM »

Thanks I figured it out after a while lol
Logged

sheepie

  • Archived User
  • Full Member
  • *
  • Posts: 169
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #12 on: October 06, 2007, 02:44:00 PM »

im using the recent one and it has this line added, yet dont play no files
Logged

geolemon

  • Archived User
  • Newbie
  • *
  • Posts: 15
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #13 on: January 06, 2008, 07:04:00 PM »

Yeesh... I can't find a new YouTube script?
My current one will load lists of videos, but not play them - not locking, just returns back to the list.  dry.gif

I browsed around Xbins... didn't find it.
The XBMC folder points to a mirror, so I connected to that and browsed around... didn't find it.

WTF?  am I that blind?
Or is it not on Xbins?   blink.gif
Logged

geolemon

  • Archived User
  • Newbie
  • *
  • Posts: 15
Youtube Script Will Find Lists Of Videos, But Then Locks Up
« Reply #14 on: January 06, 2008, 07:39:00 PM »

I just downloaded the most recent entire copy of XBMC (I feel a little foolish since all I needed was the YouTube script really), and it turns out the most recent version is 1.8a in there...

Which is the version that I have loaded on my Xbox  blink.gif  which doesn't work.

And, it doesn't contain the
self.player = xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER)
line.

Help? huh.gif
Logged
Pages: [1] 2