Hi all,

I'm using the MAI CLI to retrieve infos for the current song to display
it on a little dashboard on a tablet. Works fine for all songs from my
local library, but when it comes to songs from Spotify (over Spotty),
the reported song id is a negative number, e.g. 
Request: 

Code:
--------------------
    XX:XX:XX:XX:XX:XX status playlist
--------------------

Response:

Code:
--------------------
    XX:XX:XX:XX:XX:XX status playlist  player_name:KitchenRocker 
player_connected:1 player_ip:192.168.2.102:36329 power:1 signalstrength:0 
mode:stop remote:1 current_title:3. DON'T CHASE THE DEAD by Marilyn Manson from 
WE ARE CHAOS time:0 rate:1 duration:257.44 can_seek:1 mixer volume:43 playlist 
repeat:0 playlist shuffle:0 playlist mode:off seq_no:15 playlist_cur_index:2 
playlist_timestamp:1601046270.29137 playlist_tracks:10 digital_volume_control:1 
remoteMeta:HASH(0x8b94f98) playlist index:0 *id:-118309592* title:RED BLACK AND 
BLUE playlist index:1 *id:-118309448* title:WE ARE CHAOS playlist index:2 
*id:-118310600* title:DON'T CHASE THE DEAD playlist index:3 id:-118310000 
title:PAINT YOU WITH MY LOVE playlist index:4 id:-119147096 title:HALF-WAY & 
ONE STEP FORWARD playlist index:5 id:-119157536 title:INFINITE DARKNESS 
playlist index:6 id:-119148152 title:PERFUME playlist index:7 id:-119583544 
title:KEEP MY HEAD TOGETHER playlist index:8 id:-119583856 title:SOLVE COAGULA 
pla
 ylist index:9 id:-119159288 title:BROKEN NEEDLE
--------------------

(needs to be scrolled to the right until the first id becomes visible,
e.g. id:-118309592)

With these negative ids I'm not able to get any information from the MAI
CLI, e.g. lyrics, bio or photo url.
Any hint for me what I'm doing wrong here. There must be a way as in
browser or in iPeng it works perfectly ;-)

Best,
Jens


------------------------------------------------------------------------
JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

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

Reply via email to