mherger wrote: 
> > do you think you could add Erland's *DynamicPlaylist* plugin to the
> > 'list of mix plugins that DSTM watches out for'
> 
> Can you say what class and property name to look for? When does 
> DynamicPlaylist kick in? How do they conflict? I'm surprised this only 
> comes up now, as DSTM has been out for quite a while already.

Not sure this handles all cases, but Dynamic Playlist sets a client
property when is starts a playlist:
https://github.com/erland/lms-dynamicplaylist/blob/6a0c37c4d80e2ebeed307fc3620b757490186b76/src/Plugin.pm#L649

And removes the same property when it stops:
https://github.com/erland/lms-dynamicplaylist/blob/6a0c37c4d80e2ebeed307fc3620b757490186b76/src/Plugin.pm#L690

$prefs is initiated here:
https://github.com/erland/lms-dynamicplaylist/blob/6a0c37c4d80e2ebeed307fc3620b757490186b76/src/Plugin.pm#L51

I think looking for the playlist property should work in most cases. I’m
not sure the property is removed if someone disconnect the power cable
but except for that I suspect it’s a fairly reliable way to detect if a
dynamic playlist is running. Please keep in mind that I wrote this code
a long time ago and might have interpreted it incorrect when looking at
it now, so someone should verify that it works if you implement this.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins&p=998836&viewfull=1#post998836)
)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=105757

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to