erland Wrote: 
> Would you be interested in CLI commands for setting/getting ratings via
> the TrackStat plugin ?
mherger Wrote: 
> I do. Not for Moose, but for SlimRemote ;-)
Dr Lovegrove Wrote: 
> 
> Oh yeah, definitely!! I've added the code to read ratings from the
> db's, but CLI would be much preferred.. Especially for the writing back
> part..
> 
The latest version of TrackStat (1.13) now has two CLI commands to
get/set rating if you run it in slimserver 6.5, see included readme for
examples.
The setrating command will set rating in TrackStat itself and all other
plugins that implements the setTrackStatRating method. This currenlty
means that rating will be set in TrackStat track_statistics table,
slimserver tracks table and in MusicMagic if enabled.

Dr Lovegrove Wrote: 
> 
> Also, album ratings.. Is there support for this ? I notice there aren't
> any
> fields in the DB for them, which is a shame..
> 
The TrackStat plugin shows album/artist ratings by calculating the
average ratings for all rated tracks for the album/artist. There is
currently no way to set album/artist ratings besides setting ratings of
the individual tracks for the album/artist.
The album/artist ratings are not currently available in the CLI
interface, but if you feel this is interesting I could add a CLI
command to get them.

Are there any other CLI commands you would like in the TrackStat plugin
?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=22509

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

Reply via email to