epoch1970;398668 Wrote: > Gordon, > > in your "switch-back from SN" feature, do you intend to check > playing/idle status for the player(s) on SN, to refrain from switching > back a player which is already playing ? > If not, I shall look into JSON to rewrite my snstatus.pl script (and > share whatever I found, of course.) > > But I can happily live without knowledge of JSON, if you''ve got this > covered. No, the only changes I've incorporated into the next version in terms of SN push/pull behavior are:
--On resume, only pull back SNed players that the plugin pushed prior to suspend. --On suspend, check the local alarms for players already on SN. If a SNed player's local alarm is the next one, schedule server wakeup for that alarm and flag that player to be pulled back from SN on resume. This will make the behavior less "shotgun" like...i.e. no blanket pulling back of ALL players...just the ones we've pushed in the first place, or one that we need to service a local alarm. So, if a user's player is already on SN at suspend time, it won't get pulled back (playing or not) at resume time unless it's needed for an alarm. That should be enough for now, don't you think? On another topic: I think we really need to add a link on the settings page to a setup instructions page. I'm assuming that a simple <a href=...> isn't going to do it. How do you suggest we approach this? javascript? -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
