home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
Stay Awake Whilst Loading EPG
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="arion_p" data-source="post: 538435" data-attributes="member: 45945"><p>My only worry about your patch is that ForceImport() and/or StartImport() might fail after SetStandbyAllowed(false) but before the thread is started (e.g. when executing the SQL), in which case SetStandbyAllowed(true) will never be called and tvserver will stay awake (at least for one hour, then xmltv handler will be ignored). I would suggest these two blocks are put in a try / catch and SetStandbyAllowed(true) be called in case of an exception.</p><p></p><p>Other than that I think it will do the trick.<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="arion_p, post: 538435, member: 45945"] My only worry about your patch is that ForceImport() and/or StartImport() might fail after SetStandbyAllowed(false) but before the thread is started (e.g. when executing the SQL), in which case SetStandbyAllowed(true) will never be called and tvserver will stay awake (at least for one hour, then xmltv handler will be ignored). I would suggest these two blocks are put in a try / catch and SetStandbyAllowed(true) be called in case of an exception. Other than that I think it will do the trick.;) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
Stay Awake Whilst Loading EPG
Contact us
RSS
Top
Bottom