QUOTE(nuka1195 @ Feb 19 2007, 07:53 PM)
change all occurances of
CODE
xbmc.PlayList(2)
to
CODE
xbmc.PlayList(1)
It looks like there is a mix of tabs and spaces, so make sure you keep the indents the same.
I gave that a shot and it looked good on the XBMC PC build for debugging. But nothing ever started to playback on the XBOX. I looked thru the log on the XBOX and there was no playback of the file I selected and no errors. The log from the PC had this in it:
CODE
20:59:37 M:1323470848 DEBUG: CPlayerCoreFactor::GetPlayers(smb://Pvr/recordings/XPlay-3609926-0.mpg)
20:59:37 M:1323433984 DEBUG: Playback has started
20:59:37 M:1323421696 DEBUG: CGUIInfoManager::SetCurrentMovie(smb://Pvr/recordings/XPlay-3609926-0.mpg)
before I made the change above I would get this error:
CODE
20:48:13 M:1402474496 INFO: Stating file Q:\scripts\SageTV\SageTV-karl.py
20:48:13 M:1402474496 INFO: Q:\scripts\SageTV\SageTV-karl.py:1372: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
if (action == ACTION_PREVIOUS_MENU):
Thanks for the help, I'd love to get this working on newer builds.