mherger;352071 Wrote:
> >
> SqueezeJS.Controller.playerStatus - it's an object (or hash) with the
> following items:
>
> playerStatus = {
> // if power is undefined, set it to on for http clients
> power: (response.power == null) || response.power,
> mode: response.mode,
> rate: response.rate,
> current_title: response.current_title,
> title: response.playlist_tracks > 0 ?
> response.playlist_loop[0].title : '',
> track: response.playlist_tracks > 0 ?
> response.playlist_loop[0].url : '',
> index: response.playlist_cur_index,
> duration: parseInt(response.duration) || 0,
> canSeek: response.can_seek ? true : false,
> playtime: parseInt(response.time),
> timestamp: response.playlist_timestamp
> };
>
> It doesn't deliver the full list of track information. This is queried
> every 5 seconds, then passed to the UI elements.
>
>
> Michael
How would you query for "paused" or "stop" state? I know, I should be
asking in the developer forum but it goes with this thread. Again,
appreciate your help.
--
starfleetcommand
------------------------------------------------------------------------
starfleetcommand's Profile:
http://forums.slimdevices.com/member.php?userid=20604
View this thread: http://forums.slimdevices.com/showthread.php?t=53975
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss