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
Development
General Development (no feature request here!)
Stopping a plugin "OnExit" from plugin xml within MP
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="bushbrother" data-source="post: 849956" data-attributes="member: 67545"><p>Hi all,</p><p> </p><p>I am developing a plugin for "Transmission" and so far so good, I have an ALPHA version out, but it is early days: <a href="https://forum.team-mediaportal.com/threads/release-mp-transmission-a-transmission-torrent-plugin.103772/" target="_blank">https://forum.team-mediaportal.com/threads/release-mp-transmission-a-transmission-torrent-plugin.103772/</a></p><p> </p><p>I am a complete newbie to C# so it has taken a while to get to this stage, now I am stuck trying to find a solution I hope one of you clever folks can help with! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p> </p><p>When the plugin is loaded I am using "onPageLoad()" to initialise a refresh timer for a method, so that the list is refreshed from the server. My issue is how to stop this timer when I exit the plugin menu in Mediaportal. At the moment every single time I go back to the plugin menu within MP it starts a new timer and so my methods are getting called many times and after a while it gets silly!</p><p> </p><p>So my question is how can I terminate my plugin or set the timer to false? There does not seem to be a "onPageExit()" or similar function ...</p><p> </p><p>Any ideas?</p><p> </p><p>THANKS!</p></blockquote><p></p>
[QUOTE="bushbrother, post: 849956, member: 67545"] Hi all, I am developing a plugin for "Transmission" and so far so good, I have an ALPHA version out, but it is early days: [url]https://forum.team-mediaportal.com/threads/release-mp-transmission-a-transmission-torrent-plugin.103772/[/url] I am a complete newbie to C# so it has taken a while to get to this stage, now I am stuck trying to find a solution I hope one of you clever folks can help with! :) When the plugin is loaded I am using "onPageLoad()" to initialise a refresh timer for a method, so that the list is refreshed from the server. My issue is how to stop this timer when I exit the plugin menu in Mediaportal. At the moment every single time I go back to the plugin menu within MP it starts a new timer and so my methods are getting called many times and after a while it gets silly! So my question is how can I terminate my plugin or set the timer to false? There does not seem to be a "onPageExit()" or similar function ... Any ideas? THANKS! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Stopping a plugin "OnExit" from plugin xml within MP
Contact us
RSS
Top
Bottom