bpa wrote:
> Don't quite understand this comment - is this something the plugin has
> done within LMS - do you meant the plugin has left the duration
> associated with a track ?
> After looking at the plugin code, I think I see this is the case but I
> hadn't noticed before now as it hadn't shown up as a problem.
To get details of the current track I send a "status" message to LMS -
-["status","-",1,"tags:cdeloyrstAKNS"]- The reply is:
Code:
--------------------
{
"playlist_cur_index":"0",
"playlist mode":"off",
"player_name":"SqueezeLite",
"digital_volume_control":1,
"playlist repeat":2,
"playlist shuffle":0,
"signalstrength":0,
"rate":1,
"remote":1,
"can_seek":1,
"duration":1657,
"playlist_loop":[
{
"remote_title":"An Obsessive Type: The Tale of the Doves Typeface",
"type":"AAC LC",
"coverid":"-99094840",
"artwork_url":"/imageproxy/http%3A%2F%2Fichef.bbci.co.uk%2Fimages%2Fic%2F640x360%2Fp0423zmb.jpg/image.jpg",
"duration":"1800",
"bitrate":"320kbps VBR",
"title":"An Obsessive Type: The Tale of the Doves Typeface",
"playlist index":0,
"id":"-99094840",
"artist":"Can a long-lost design classic be rediscovered at the bottom of the
Thames?"
}
],
"time":38.4332261676788,
"mixer volume":85,
"player_ip":"192.168.1.66:44116",
"current_title":"An Obsessive Type: The Tale of the Doves Typeface",
"playlist_tracks":1,
"remoteMeta":{
"id":"-99094840",
"title":"An Obsessive Type: The Tale of the Doves Typeface",
"coverid":"-99094840",
"duration":"1800",
"type":"AAC LC",
"bitrate":"320kbps VBR",
"artist":"Can a long-lost design classic be rediscovered at the bottom of the
Thames?",
"artwork_url":"/imageproxy/http%3A%2F%2Fichef.bbci.co.uk%2Fimages%2Fic%2F640x360%2Fp0423zmb.jpg/image.jpg",
"remote_title":"An Obsessive Type: The Tale of the Doves Typeface"
},
"player_connected":1,
"playlist_timestamp":1553273136.70293,
"mode":"pause",
"power":1,
"seq_no":0
}
--------------------
The 'duration' in the playlist_loop is the old/wrong one. The first
'duration' field is the new/correct one.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins