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 2
Submit: Code Patches
Fix PowerScheduler plugin for MP2 single seat
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="framug" data-source="post: 1262595" data-attributes="member: 19448"><p>Hello there, </p><p></p><p>I just tested MP 2.2.2 for the first time.</p><p>I don't think I will switch from MP1 to MP2, because of no IRTRANS native remote, etc...</p><p>I have a problem that I call "Impossible to avoid Windows sleep or hibernate with MP2 single seat when client is running".</p><p>Then, I worked to fix that.</p><p></p><p>So, if you want to try the dll, take a look at PowerScheduler.rar</p><p></p><p>If you need diff :</p><p></p><p>[code] .../Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs | 2 +-</p><p> 1 file changed, 1 insertion(+), 1 deletion(-)</p><p></p><p>diff --git a/TvEngine3/TVLibrary/Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs b/TvEngine3/TVLibrary/Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs</p><p>index cfc8891b25..692bb4b016 100644</p><p>--- a/TvEngine3/TVLibrary/Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs</p><p>+++ b/TvEngine3/TVLibrary/Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs</p><p>@@ -184,7 +184,7 @@ namespace TvEngine.PowerScheduler.Handlers</p><p> {</p><p> string runningProcess = rp.ProcessName;</p><p>- if (string.Equals(runningProcess, "MediaPortal", StringComparison.OrdinalIgnoreCase))</p><p>+ if (string.Equals(runningProcess, "MediaPortal", StringComparison.OrdinalIgnoreCase) || string.Equals(runningProcess, "MP2-Client", StringComparison.OrdinalIgnoreCase))</p><p> MPClientRunning = true;</p><p> foreach (string process in _processList)</p><p>[/code]</p><p></p><p>Normally, it would fix MP2 server plugin with no backwards step for MP1 server.</p><p></p><p>Hope it helps...</p></blockquote><p></p>
[QUOTE="framug, post: 1262595, member: 19448"] Hello there, I just tested MP 2.2.2 for the first time. I don't think I will switch from MP1 to MP2, because of no IRTRANS native remote, etc... I have a problem that I call "Impossible to avoid Windows sleep or hibernate with MP2 single seat when client is running". Then, I worked to fix that. So, if you want to try the dll, take a look at PowerScheduler.rar If you need diff : [code] .../Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TvEngine3/TVLibrary/Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs b/TvEngine3/TVLibrary/Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs index cfc8891b25..692bb4b016 100644 --- a/TvEngine3/TVLibrary/Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs +++ b/TvEngine3/TVLibrary/Plugins/PowerScheduler/Handlers/ProcessActiveStandbyHandler.cs @@ -184,7 +184,7 @@ namespace TvEngine.PowerScheduler.Handlers { string runningProcess = rp.ProcessName; - if (string.Equals(runningProcess, "MediaPortal", StringComparison.OrdinalIgnoreCase)) + if (string.Equals(runningProcess, "MediaPortal", StringComparison.OrdinalIgnoreCase) || string.Equals(runningProcess, "MP2-Client", StringComparison.OrdinalIgnoreCase)) MPClientRunning = true; foreach (string process in _processList) [/code] Normally, it would fix MP2 server plugin with no backwards step for MP1 server. Hope it helps... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Submit: Code Patches
Fix PowerScheduler plugin for MP2 single seat
Contact us
RSS
Top
Bottom