I'm sorry, it seems like I've mislead you earlier. The "Statistics" (TrackStat) menu in Custom Browse isn't offered over CLI, you will only get the first level and it feels like a bug that you even get that. This is also the reason why the "Statistics" menu isn't available on the Radio/Touch/Controller interface within the Custom Browse menu, it's only available as separate menu.
If you are able to use JSON instead of CLI, there is a "trackstat browse" and "trackstat statisticsjive" JSON command available, this is what's used to render the TrackStat menus on the Controller/Radio/Touch. If you enable debug logging on "network.cometd" when using a Controller/Radio/Touch or desktop SqueezePlay, you will see how the commands look like. When using the JSON interface over telnet it just displays things like "HASH(0x1053c288)" so you won't be able to return the structures. If you know some perl, the implementation is in the jiveBrowse and jiveStatistcs function in Plugins/TrackStat/Plugin.pm. If you provide a patch for a working CLI interface I'll consider including it in a future TrackStat version. It's probably possible to base it on the current implementation in the jiveBrowse and jiveStatistics functions, just flattening the result before returning it. -- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) (Install my plugins through Extension Downloader) (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=75979 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
