2005-03-17, 04:35
take a look at mythtvrecordshowdetails.py. change this:
i put the check in there so that if people run an old version of xbmc, it won't bug them about commercial skipping that isn't supported anyway.
if you still don't get the prompt, then the script probably didn't retrieve any commercial mark information from the myth tv backend. search for the call to "loadmarkup". basically the logic is if seeking is supported by xbmc and some markup was found for the show, ask the user if they want to skip commercials automatically. if they answer yes, then set the commercial skipping flag to true otherwise set it to false. you could hard code the commercial skipping flag to true always and see what happens... but if no markup was loaded, then onplaybackstarted will exit prematurely...
if you don't see the logic described above in the code then you're running an old version. btw, you grabbed the code from cvs instead of the tar.gz from sourceforge, right?
Quote: def isseeksupported( self ):to:
return xbmc.player..has_key( "seektime" )
Quote: def isseeksupported( self ):
return 1
i put the check in there so that if people run an old version of xbmc, it won't bug them about commercial skipping that isn't supported anyway.
if you still don't get the prompt, then the script probably didn't retrieve any commercial mark information from the myth tv backend. search for the call to "loadmarkup". basically the logic is if seeking is supported by xbmc and some markup was found for the show, ask the user if they want to skip commercials automatically. if they answer yes, then set the commercial skipping flag to true otherwise set it to false. you could hard code the commercial skipping flag to true always and see what happens... but if no markup was loaded, then onplaybackstarted will exit prematurely...
if you don't see the logic described above in the code then you're running an old version. btw, you grabbed the code from cvs instead of the tar.gz from sourceforge, right?