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
MySleepTimer
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="Anthrax" data-source="post: 320359" data-attributes="member: 46494"><p>Hi MediaPortal afficinados,</p><p></p><p>anybody around here using MediaPortal as his/her over-the-counter (but highly addictive) sleeping agent?</p><p></p><p>Well, I sure as heck do <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>Ever since I started using MediaPortal some two years ago, I was missing the essential funtionality every cheap old TV has - a simple push-button sleep timer...</p><p>So spending one sleepless night I finally managed to program one myself.</p><p></p><p>So I'd like to share this with you guys.</p><p></p><p></p><p>MySleepTimer - MediaPortal Process Plugin</p><p>=========================================</p><p></p><p>- just install "MySleepTimer.mpi" (should appear in "MediaPortal Plugins-Skins Installer" some time soon as well)</p><p>- configure via MediaPortal configuration<p style="margin-left: 20px"></p> <p style="margin-left: 20px">- ActionType: Sets the desired MediaPortal Action/Event to trigger and set up the sleep timer inside MediaPortal</p> <p style="margin-left: 20px">- when using the default "ACTION_REMOTE_YELLOW_BUTTON" </p> <p style="margin-left: 20px">- <strong><span style="color: Red">make sure you have your Remote set up to perform this action when pressing this button (the attached config pic shows the DEFAULT configuration - make sure the Action "Remote Yellow Button" is set for ALL CONDITIONS that you need) </span></strong></p> <p style="margin-left: 20px">- ShutdownType: This is what should happen once the timer elapsed</p> <p style="margin-left: 20px">(- force: this should be handled with care <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />)</p> <p style="margin-left: 20px">- maximum sleep time: Sets the maximum amount of minutes you want to set</p> <p style="margin-left: 20px">- steps: everytime the selected 'action' is performed the sleep time is incremented by this many minutes</p> <p style="margin-left: 20px">- notification interval: Sets the interval for the notification window to pop up telling you how much time is left </p><p>- usage inside MediaPortal</p><p style="margin-left: 20px"></p> <p style="margin-left: 20px">- perform the selected 'action' to enable the timer (a little popup window is displayed)</p> <p style="margin-left: 20px">- repeat this action to increase the sleep time</p> <p style="margin-left: 20px">- once you go beyond the maximum sleep time the timer is stopped until you do 'action' once again</p> <p style="margin-left: 20px">- when set a notification window will show you how much time is left </p> <p style="margin-left: 20px"></p><p></p><p>[Update thx to xmats: when there is any type of playback running, the first time you perform 'action' will set the timer to use the remaining playtime + 1 minute. Do 'action' and increase the timer value as usual]</p><p></p><p>regards,</p><p>Anthrax</p><p></p><p>PS: tell me want you think about it and please don't be shy <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p><p></p><p><a href="https://www.team-mediaportal.com/extensions/system/mysleeptimer" target="_blank">[IMGLINK]https://www.team-mediaportal.com/images/stories/homepageV3/MosTree/download4.png[/IMGLINK]</a></p><p></p><p><strong>Changelog:</strong></p><p>[COLLAPSE] <ul> <li data-xf-list-type="ul">v1.0.4.3660<ul> <li data-xf-list-type="ul">deployment via MediaPortal extension package</li> <li data-xf-list-type="ul">reworked configuration</li> <li data-xf-list-type="ul">multi language support</li> </ul></li> <li data-xf-list-type="ul">v1.0.3.0<ul> <li data-xf-list-type="ul">Thx to Zdeny there have been some improvements in the timer setup logic inside MediaPortal</li> </ul></li> <li data-xf-list-type="ul">v1.0.2.0<ul> <li data-xf-list-type="ul">Code redesign</li> <li data-xf-list-type="ul">delayed notification</li> <li data-xf-list-type="ul">button time out</li> <li data-xf-list-type="ul">sleep behavior</li> </ul></li> <li data-xf-list-type="ul">v1.0.1.1<ul> <li data-xf-list-type="ul">Bugfix Release: fixed the doubled action bug (thx to Paranoid Delusion)</li> </ul></li> </ul><p>[/COLLAPSE]</p><p></p><p><strong>Release archive:</strong></p><p><a href="http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MySleepTimer/releases/" target="_blank">SourceForge.net Repository - [mp-plugins] Index of /trunk/plugins/MySleepTimer/releases</a></p><p></p><p><strong>Source code:</strong></p><ul> <li data-xf-list-type="ul"><a href="http://wiki2010.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Plugin_Developer%27s_Guide/2_Provide_the_Sourcecode" target="_blank">Introduction about mp-plugins</a></li> <li data-xf-list-type="ul"><a href="http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MySleepTimer/" target="_blank">Source @ mp-plugins</a></li> </ul></blockquote><p></p>
[QUOTE="Anthrax, post: 320359, member: 46494"] Hi MediaPortal afficinados, anybody around here using MediaPortal as his/her over-the-counter (but highly addictive) sleeping agent? Well, I sure as heck do ;) Ever since I started using MediaPortal some two years ago, I was missing the essential funtionality every cheap old TV has - a simple push-button sleep timer... So spending one sleepless night I finally managed to program one myself. So I'd like to share this with you guys. MySleepTimer - MediaPortal Process Plugin ========================================= - just install "MySleepTimer.mpi" (should appear in "MediaPortal Plugins-Skins Installer" some time soon as well) - configure via MediaPortal configuration[INDENT] - ActionType: Sets the desired MediaPortal Action/Event to trigger and set up the sleep timer inside MediaPortal - when using the default "ACTION_REMOTE_YELLOW_BUTTON" - [B][COLOR="Red"]make sure you have your Remote set up to perform this action when pressing this button (the attached config pic shows the DEFAULT configuration - make sure the Action "Remote Yellow Button" is set for ALL CONDITIONS that you need) [/COLOR][/B] - ShutdownType: This is what should happen once the timer elapsed (- force: this should be handled with care ;)) - maximum sleep time: Sets the maximum amount of minutes you want to set - steps: everytime the selected 'action' is performed the sleep time is incremented by this many minutes - notification interval: Sets the interval for the notification window to pop up telling you how much time is left [/INDENT] - usage inside MediaPortal [INDENT] - perform the selected 'action' to enable the timer (a little popup window is displayed) - repeat this action to increase the sleep time - once you go beyond the maximum sleep time the timer is stopped until you do 'action' once again - when set a notification window will show you how much time is left [/INDENT] [Update thx to xmats: when there is any type of playback running, the first time you perform 'action' will set the timer to use the remaining playtime + 1 minute. Do 'action' and increase the timer value as usual] regards, Anthrax PS: tell me want you think about it and please don't be shy :P [URL="https://www.team-mediaportal.com/extensions/system/mysleeptimer"][IMGLINK]https://www.team-mediaportal.com/images/stories/homepageV3/MosTree/download4.png[/IMGLINK][/URL] [B]Changelog:[/B] [COLLAPSE][LIST] [*]v1.0.4.3660[LIST] [*]deployment via MediaPortal extension package [*]reworked configuration [*]multi language support [/LIST] [*]v1.0.3.0[LIST] [*]Thx to Zdeny there have been some improvements in the timer setup logic inside MediaPortal [/LIST] [*]v1.0.2.0[LIST] [*]Code redesign [*]delayed notification [*]button time out [*]sleep behavior [/LIST] [*]v1.0.1.1[LIST] [*]Bugfix Release: fixed the doubled action bug (thx to Paranoid Delusion) [/LIST] [/LIST][/COLLAPSE] [B]Release archive:[/B] [url=http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MySleepTimer/releases/]SourceForge.net Repository - [mp-plugins] Index of /trunk/plugins/MySleepTimer/releases[/url] [B]Source code:[/B] [LIST] [*][URL="http://wiki2010.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Plugin_Developer%27s_Guide/2_Provide_the_Sourcecode"]Introduction about mp-plugins[/URL] [*][URL="http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MySleepTimer/"]Source @ mp-plugins[/URL] [/LIST] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MySleepTimer
Contact us
RSS
Top
Bottom