Idea: Pause download package when video is playing.
|
5th Feb, 2013, 09:24 PM
Post: #14
|
|||
|
|||
RE: Pause download package when video is playing.
Quote:Saw my script being killed because it was longer than 5 seconds 'inactive'. Or is that only with boot-scripts/services? Don't understand what you mean. Script is ended when it reached end of the script. Thread stay alive after, but in this case (no thread), you have to do a sleep at the end otherwise monitoring will stop when reached the end. What i want to tell, is that you can put more than 5 sec in xbmc.sleep, if you put 1 minute, and xbmc stop is requested, it will go out from xbmc.sleep, even if the minutes was not achieved. not really a big problem in this case to put 3 sec, but if you put 1 minutes or more, there are less loop. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|