kyleki;132401 Wrote: > I went ahead and limited it to only respond to buttons 0-5 as those are > the only ones supported by TrackStat (I believe, even though it appears > to try and rate a song at 6 or 7 stars if I don't limit it).The next > TrackStat version will have a check so it just ignores unsupported numbers.
kyleki;132401 Wrote: > Here's the pseudo code I'm thinking about: > > > Code: -------------------- > > if (TrackStat is installed) > Add 'playFavorite_0-5' definitions to alarmActiveFunctions > else > Add 'numberScroll' definition to alarmActiveFunctions -------------------- > > > > If these changes are done in the alarm plugin it might be a good idea not to have the 0-5 check unless its really desired. The reason is that TrackStat will probably support ratings 0-9 sometime in the future and then the alarm plugin would have to be changed again. TrackStat will probably be configurable so its possible to choose if it shall run in 0-5 or 0-9 mode when this is implemented. -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page' (http://erland.homeip.net/download) (Developer of 'TrackStat' (http://erland.homeip.net/download/do/viewapplication?name=slimserver-trackstat) , 'SQLPlayList' (http://erland.homeip.net/download/do/viewapplication?name=slimserver-sqlplaylist) , 'DynamicPlayList' (http://erland.homeip.net/download/do/viewapplication?name=slimserver-dynamicplaylist) and 'RandomPlayList' (http://erland.homeip.net/download/do/viewapplication?name=slimserver-randomplaylist) plugins) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=26793 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
