I think the clue is in Michael's old reply in the thread that I linked
to a couple of posts ago ...
Try turning on "Select if you do not want the album name to appear"
Then ...
Code:
--------------------
[21-10-16 21:00:46.7620] Plugins::RadioNowPlaying::Plugin::updateClient
(7166) About to push:$VAR1 = {
'album' => '',
'artist' => 'The Kinks',
'busy' => 0,
'cover' => 'https://jukeradio.double6.net/music/3ece9005/cover/',
'endTime' => 1634414444,
'icon' => 'https://jukeradio.double6.net/img/station.png',
'isSong' => 1,
'label' => '',
'remote_title' => 'You Really Got Me',
'startTime' => 0,
'stationid' => 'jukeradiojukeradio',
'title' => 'You Really Got Me',
'ttl' => 1634414464,
'year' => '1987'
};
--------------------
and
Code:
--------------------
{
"id": 1,
"params": [
"02:0e:8e:24:cc:42",
[
"status",
"-",
"1",
"tags:AalygtoNx"
]
],
"method": "slim.request",
"result": {
"remoteMeta": {
"id": "-143821736",
"title": "You Really Got Me",
"artist": "The Kinks",
"year": "0",
"type": "mp3",
"remote_title": "Juke Radio (mp3)",
"remote": 1
},
"playlist_loop": [
{
"playlist index": 0,
"year": "0",
"remote": 1,
"title": "You Really Got Me",
"id": "-143821736",
"remote_title": "Juke Radio (mp3)",
"type": "mp3",
"artist": "The Kinks"
}
],
"rate": 1,
"digital_volume_control": 1,
"seq_no": "374",
"playlist shuffle": 0,
"playlist repeat": 0,
"playlist mode": "off",
"player_ip": "192.168.2.124:44850",
"player_connected": 1,
"power": 1,
"mode": "play",
"playlist_tracks": 1,
"current_title": "The Kinks - You Really Got Me",
"playlist_timestamp": 1634414339.72769,
"time": 77.5078318634033,
"playlist_cur_index": "0",
"remote": 1,
"player_name": "Paul Desk",
"mixer volume": 37,
"signalstrength": 0
}
}
--------------------
So ... looks like LMS remove remote_title if album is present.
So could change the Alexa skill to give the album name if present since
it looks like remote_title will not be there in that case.
Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland
and, via the extra \"radio now playing\" plugin, allzic radio, caroline
flashback, cesky rozhlas, frequence3, jukeradio, klassikradio.de, linn
radio, mother earth, naim radio, nova.fr, radioblues flac, radio espace,
somehow jazz
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=115201
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins