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
MediaPortal 1 Plugins
MPstandbyHandler
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="PJ" data-source="post: 324859" data-attributes="member: 10411"><p><strong>Always Start MP on Resume Option?</strong></p><p></p><p>Is there any way to make MP always start on resume? I've got the power button on my remote set to exit MP (closes to a black desktop with no icons or task bar), then the TV Server powerscheduler suspends after X minutes (2 or 3 I think).</p><p></p><p>This works fine for standby but on resume MPStandbyHandler won't restart MP because it wasn't running on Suspend. </p><p></p><p>I've had a look through the code from SVN and it looks like it may be a simple change to add a new Property to 'JobMediaportalStart.cs' called AlwaysStart, create a new string constant to represent the property and then update the 'SetDescriptions' and 'PrepareSepcialJobProperties' methods to implement the new value.</p><p></p><p>Once that has been done, an extra check in the 'Run' method as part of the first if would be needed to pass when AlwaysStart = true;</p><p></p><p> if (!test && !Flags.MediaportalRunning && !AlwaysStart)</p><p></p><p></p><p>I haven't had a chance to see if this all that is required to include the functionality, but if that's the lot then I can upload the changes once I've tried it out.</p><p></p><p>Cheers,</p><p></p><p>PJ</p></blockquote><p></p>
[QUOTE="PJ, post: 324859, member: 10411"] [b]Always Start MP on Resume Option?[/b] Is there any way to make MP always start on resume? I've got the power button on my remote set to exit MP (closes to a black desktop with no icons or task bar), then the TV Server powerscheduler suspends after X minutes (2 or 3 I think). This works fine for standby but on resume MPStandbyHandler won't restart MP because it wasn't running on Suspend. I've had a look through the code from SVN and it looks like it may be a simple change to add a new Property to 'JobMediaportalStart.cs' called AlwaysStart, create a new string constant to represent the property and then update the 'SetDescriptions' and 'PrepareSepcialJobProperties' methods to implement the new value. Once that has been done, an extra check in the 'Run' method as part of the first if would be needed to pass when AlwaysStart = true; if (!test && !Flags.MediaportalRunning && !AlwaysStart) I haven't had a chance to see if this all that is required to include the functionality, but if that's the lot then I can upload the changes once I've tried it out. Cheers, PJ [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPstandbyHandler
Contact us
RSS
Top
Bottom