xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Startup Video Playback Troubles, C2
DoNutsDC
post Jul 21 2005, 02:52 AM
Post #1


X-S Enthusiast


Group: Members
Posts: 6
Joined: 3-June 03
Member No.: 41877



I've taken the StartUpVideo script a bit further by changing the script to select a playlist composed of music videos, randomize it and play it instead of the default animation that came with the script. For some reason, on only 2 XBOXes can I get it running flawlessly but on others, no matter which skin I select, it randomly freezes. I have the least amount of freezes on PMIII while the CE and LE versions of PMIII freeze the most often. The script goes as follows:

QUOTE
import xbmc

file = 'q:\\albums\\playlists\\videos.m3u'
pls = xbmc.PlayList(2)
pls.load(file)
pls.shuffle()
xbmc.Player().play(pls)
xbmc.executebuiltin('XBMC.ActivateWindow(0)')


I do not know if it depends on the XBOXes or the bioses/chips, but my personal XBOXes through multiple builds of XBMC has had no problems up to date. Maybe it could be an issue with the script but I'm not sure. The amount of videos do not seem to matter as with large or small playlists it still randomly freezes. Any help or feedback is appreciated.

I am currently using a 1.0 TSOP running a 6-26 RocafellaSquali build and a X3 chip running the 3108 bios on a 1.4 with the 7-17 RocafellaSquali build.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DoNutsDC
post Jul 21 2005, 05:24 AM
Post #2


X-S Enthusiast


Group: Members
Posts: 6
Joined: 3-June 03
Member No.: 41877



alright i was able to fix the script to pretty much work... i tested it out on an xbox that had problems and two lines of code seemed to fix the problem... the new script goes as follows:

QUOTE
import xbmc
from time import sleep

file = 'q:\\albums\\playlists\\videos.m3u'
pls = xbmc.PlayList(2)
pls.load(file)
pls.shuffle()
sleep(0.3)
xbmc.Player().play(pls)
xbmc.executebuiltin('XBMC.ActivateWindow(0)')


feel free to use this script for your own pleasure... smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
MrShadow
post Jul 21 2005, 05:29 AM
Post #3


X-S Senior Member
**

Group: Members
Posts: 201
Joined: 12-November 04
From: Modesto, CA
Member No.: 166146
Xbox Version: v1.6
360 version: unknown



Thanks for the nice script. I will try it sometime. Hopefully it works smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DoNutsDC
post Jul 21 2005, 06:12 AM
Post #4


X-S Enthusiast


Group: Members
Posts: 6
Joined: 3-June 03
Member No.: 41877



yeah no problem... just an additional modification of the original StartUpVideo script... if it still freezes, try moving the "sleep(0.3)" one line below so it looks like

QUOTE
xbmc.Player().play(pls)
sleep(0.3)
xbmc.executebuiltin('XBMC.ActivateWindow(0)')


turns out the problem seems to be that skin or video doesnt fully load when xbmc tries to minimize it into the background... that little delay fixes the problem

beerchug.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
bozo8787
post Aug 2 2005, 07:00 AM
Post #5


X-S Member
*

Group: Members
Posts: 79
Joined: 4-September 03
Member No.: 60428



QUOTE(DoNutsDC @ Jul 21 2005, 06:35 AM)
alright i was able to fix the script to pretty much work... i tested it out on an xbox that had problems and two lines of code seemed to fix the problem... the new script goes as follows:
feel free to use this script for your own pleasure...  smile.gif
*



I wish I could get this to work but I have a video playlist from Launch Browser yet it's not .M3U it's xml and txt. Some are working on this including myself over HERE
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 21st May 2013 - 08:29 AM