Re: [SlimDevices: Plugins] TrackStat CLI commands?

2010-01-05 Thread mrMuppet

Anything new about this?
A command to rate the currently played track is what i need, too.


-- 
mrMuppet

mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread: http://forums.slimdevices.com/showthread.php?t=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat CLI commands?

2010-01-05 Thread pippin

Nothing new needed, everything there in the doc.


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat CLI commands?

2010-01-05 Thread peterw

starcat;420230 Wrote: 
 If I want to set the rating (0..5) for the currently played track, do I
 have to pass the trackname or trackid? Just address the playerID and
 rating, it should take the currently played track by that playerID, is
 this possible? Thanks much!

If you're using KidsPlay, definitely see the thread CLI-commands. If
not, perhaps you should be. :-) Seriously, though, KidsPlay might help
with this. It has an (undocumented) CLI that is designed to let a CLI
application invoke a KidsPlay macro, so you could define a KP macro like
JVC button 1 as trackstat setrating {CURRENT_TRACK_ID} 1, and have
your CLI client tell KidsPlay to execute the JVC button 1 macro for a
given player. KidsPlay would look up the track ID and call the trackstat
CLI command. That's nowhere near as clean as tweaking TrackStat, but let
me know if that sounds like something you'd need or want, so I can
verify that KidsPlay does behave as I described. This is a feature I
added to facilitate better support for Radio and Touch, but haven't
started using yet.


-- 
peterw

http://www.tux.org/~peterw/
Free plugins:  'AllQuiet'
(http://www.tux.org/~peterw/slim/AllQuiet.html) 'Auto Dim/AutoDisplay'
(http://www.tux.org/~peterw/slim/AutoDisplay.html) 'BlankSaver'
(http://www.tux.org/~peterw/slim/BlankSaver.html) 'ContextMenu'
(http://www.tux.org/~peterw/slim/ContextMenu.html) 'DenonSerial'
(http://www.tux.org/~peterw/slim/DenonSerial.html)
'FuzzyTime' (http://www.tux.org/~peterw/slim/FuzzyTime.html) 'KidsPlay'
(http://www.tux.org/~peterw/slim/KidsPlay.html) 'KitchenTimer'
(http://www.tux.org/~peterw/slim/KitchenTimer.html) 'PlayLog'
(http://www.tux.org/~peterw/slim/PlayLog.html)
'PowerCenter/BottleRocket'
(http://www.tux.org/~peterw/slim/PowerCenter.html) 'SaverSwitcher'
(http://www.tux.org/~peterw/slim/SaverSwitcher.html)
'SettingsManager'
(http://www.tux.org/~peterw/slim/SettingsManager.html) 'SleepFade'
(http://www.tux.org/~peterw/slim/SleepFade.html) 'StatusFirst'
(http://www.tux.org/~peterw/slim/StatusFirst.html) 'SyncOptions'
(http://www.tux.org/~peterw/slim/SyncOptions.html) 'VolumeLock'
(http://www.tux.org/~peterw/slim/VolumeLock.html)

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat CLI commands?

2009-05-04 Thread pippin

Have you read this:
yourserver:9000/en/html/docs/cli-api.html

The status command is what you want to use.


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat CLI commands?

2009-05-03 Thread starcat

If I want to set the rating (0..5) for the currently played track, do I
have to pass the trackname or trackid? Just address the playerID and
rating, it should take the currently played track by that playerID, is
this possible? Thanks much!


-- 
starcat

starcat's Profile: http://forums.slimdevices.com/member.php?userid=15970
View this thread: http://forums.slimdevices.com/showthread.php?t=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat CLI commands?

2009-05-03 Thread starcat

Erland, thanks for the great plugins!!


-- 
starcat

starcat's Profile: http://forums.slimdevices.com/member.php?userid=15970
View this thread: http://forums.slimdevices.com/showthread.php?t=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat CLI commands?

2009-05-03 Thread starcat

Is there a command to query for the trackID of the currently played song
by a particular player? Thanks!


-- 
starcat

starcat's Profile: http://forums.slimdevices.com/member.php?userid=15970
View this thread: http://forums.slimdevices.com/showthread.php?t=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat CLI commands?

2009-05-02 Thread erland

pippin;419732 Wrote: 
 
 with id being the track_id of the track to rate
 
id can also be the full path of the track to rate if you don't have the
track identifier, although it's preferred to use the track identifier if
you have it.

pippin;419732 Wrote: 
 
 r being the rating between 0 and 5 or 0 and 10 (don't know how this is
 being distinguished, I only use 0 to 5)
 
You can use:
trackstat setrating 42 3
trackstat setrating 42 60%

The % character indicates that r has a range between 0-100 without the
% character the range will be 0-5.


-- 
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, Title Switcher 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=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] TrackStat CLI commands?

2009-05-01 Thread starcat

Anyone know how to set the rating of the currently played track to ***
and * on the CLI? Thanks much!


-- 
starcat

starcat's Profile: http://forums.slimdevices.com/member.php?userid=15970
View this thread: http://forums.slimdevices.com/showthread.php?t=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat CLI commands?

2009-05-01 Thread pippin

starcat;419717 Wrote: 
 Anyone know how to set the rating of the currently played track to ***
 and * on the CLI? Thanks much!

trackstat setrating id r
with id being the track_id of the track to rate and r being the rating
between 0 and 5 or 0 and 10 (don't know how this is being distinguished,
I only use 0 to 5)
you can use
trackstst getrating id
to read back the rating


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=62934

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins