Jump to content


Photo

Youtube Script Will Find Lists Of Videos, But Then Locks Up


  • Please log in to reply
21 replies to this topic

#1 geoman2k

geoman2k

    X-S Enthusiast

  • Members
  • 25 posts

Posted 17 September 2007 - 07:25 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 tongue.gif

#2 Bomb Bloke

Bomb Bloke

    X-S Transcendental

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPip
  • 6,568 posts
  • Gender:Male
  • Location:Tasmania (AU)
  • Xbox Version:v1.0
  • 360 version:none

Posted 17 September 2007 - 10:20 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.

#3 sadlytragic

sadlytragic

    X-S Young Member

  • Members
  • Pip
  • 36 posts

Posted 19 September 2007 - 04:32 AM

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

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?

#4 nuka1195

nuka1195

    X-S Expert

  • Members
  • PipPipPip
  • 639 posts

Posted 19 September 2007 - 05:37 AM

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


#5 Bomb Bloke

Bomb Bloke

    X-S Transcendental

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPip
  • 6,568 posts
  • Gender:Male
  • Location:Tasmania (AU)
  • Xbox Version:v1.0
  • 360 version:none

Posted 19 September 2007 - 08:51 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.

#6 Party Animal

Party Animal

    X-S Member

  • Members
  • Pip
  • 130 posts
  • Location:San Diego
  • Xbox Version:v1.0
  • 360 version:v3.0 (falcon)

Posted 23 September 2007 - 02:49 AM

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


#7 dxg836

dxg836

    X-S Member

  • Members
  • Pip
  • 76 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 25 September 2007 - 11:30 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


#8 Party Animal

Party Animal

    X-S Member

  • Members
  • Pip
  • 130 posts
  • Location:San Diego
  • Xbox Version:v1.0
  • 360 version:v3.0 (falcon)

Posted 25 September 2007 - 11:21 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

#9 andw

andw

    X-S Young Member

  • Members
  • Pip
  • 39 posts

Posted 29 September 2007 - 01:10 PM

QUOTE(dxg836 @ Sep 25 2007, 07:06 PM) 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

Thankyou

#10 Rick_Son

Rick_Son

    X-S Young Member

  • Members
  • Pip
  • 44 posts

Posted 02 October 2007 - 02:28 AM

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

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

#11 Bomb Bloke

Bomb Bloke

    X-S Transcendental

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPip
  • 6,568 posts
  • Gender:Male
  • Location:Tasmania (AU)
  • Xbox Version:v1.0
  • 360 version:none

Posted 03 October 2007 - 11:55 AM

Try using a more recent YouTube script.

#12 Rick_Son

Rick_Son

    X-S Young Member

  • Members
  • Pip
  • 44 posts

Posted 04 October 2007 - 12:28 AM

Thanks I figured it out after a while lol

#13 sheepie

sheepie

    X-S X-perience

  • Members
  • PipPip
  • 378 posts

Posted 06 October 2007 - 09:44 PM

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

#14 geolemon

geolemon

    X-S Member

  • Members
  • Pip
  • 63 posts

Posted 07 January 2008 - 03:04 AM

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

#15 geolemon

geolemon

    X-S Member

  • Members
  • Pip
  • 63 posts

Posted 07 January 2008 - 03:39 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users