max.spicer;339439 Wrote: 
> 
> Random mix as an alarm sound is broken in 7.2 unfortunately. It should
> be fixed for 7.2.1.
> 
Do you know if this is a problem in SqueezeCenter core or in Random Mix
? If it's in the SqueezeCenter core I suspect I'm going to have the same
problem with Dynamic Playlist as it behaves similar to Random Mix.

max.spicer;339439 Wrote: 
> 
> Probably the best "fix" (pronounced kludge) for now is to set the
> request source attribute to 'PLUGIN_RANDOMPLAY'.  See random play
> itself for more info.
> 
Is there some way I could check if an alarm is playing ?

Normally I want to do stuff when a play or stop event is received from
Random Mix, so I can't just change the request source it will result in
that Dynamic Playlist doesn't work correctly in other cases. However,
there might be possible to do some clever code that does this in the
specific case when an alarm is playing if I somehow could detect that.

I'll have to think a bit more regarding this, if it gets too complex
I'm not sure I like the idea of having a work-around in Dynamic
Playlist just to get alarms to work due to a "bug" in SqueezeCenter.

Max, I'm sure you are already aware of this, but IMHO it's always a bad
idea if code in SqueezeCenter itself has hard coded references to stuff
under Slim::Plugin::*. I've seen a number of such new references coming
up during the last year and the result is always that it makes it almost
impossible for third party plugins to do the same thing as built-in
plugins. I'm happy you are looking at a solution for this in 7.3 for
the alarm handling.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=52370

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

Reply via email to