INTERACT FORUM
Windows => Plug-in Development => Topic started by: KingSparta on July 09, 2003, 03:07:57 pm
-
Matt:
It Seems That Plug-Ins Run All The Time Now
When You Enter And Exit A Plugin They Will Not automaticly Update The Media List That Is In Playing Now.
Is There A Way To Allow The PlugIn To Only Work When Your In the Plug-In? (Plug-In Mode Does Not Seem to Work Now)
Is There A Way To Know When You Enter Or Exit A Plug-In Now?
I Really Don't Want The Plugin To Mess Up Peoples Media Files.
If This Is Something That Is Going To Be Fixed Or If There Is Something I Can Do Please Tell Me.
Please.
(Anyone Else?)
-
Posting for two reasons:
A) To encourage JRiver to tell 3rd parties how to implement plug-ins that work like they used to; and
B) To inform of a possible work-around in the mean time. You can manually stop any plug-in from working by using the Plug-in Manager (off the Tools Menu). You can stop and start various plug-ins, and those traits are remember upon exiting and restarting MC. If you Stop and Start a plug-in, it will re-detect whatever media is currently in Playing Now.
Rob
-
I don't know why there is no info on this, maybe they just are not sure how it will turn out, but it would sure be nice to have some info.
-
King,
I just tried Sleep timer plug-in and plugin mode works as it should. We did not change PluginMode since we first implemented the functionality.
1, for PluginMode, means that plug-in will run in server mode (always on). 0 means that it should run only when visible.
Nikolay
-
well you would not see the problem with Sleep timer.
but somthing changed recently because if the plug-in was always running before and a user exited the plugin would go to sub
Private Sub UserControl_Hide()
and when re-entering the plug-in it would go to sub
Private Sub UserControl_Show()
it no longer does that (at least in some of the newer builds, but have not tried the latest).
the reason i found this out is that the playing now file list would not update in my plug-in and it points to the sub from "UserControl_Show()" since that is no called but one time the list does not update.
At any rate Last month I created a work around for this problem.