I thought I'd been down this hole before ...
https://forums.slimdevices.com/showthread.php?106810-Using-plugin-to-get-Internet-radio-track-data-from-web-site&p=873943&viewfull=1#post873943
That is back from when I was writing my first LMS plugin - 4 years ago.
>From the LMS logs I can see that I am setting it ...
Code:
--------------------
[21-10-16 20:43:48.4155] Plugins::RadioNowPlaying::Plugin::updateClient
(7166) About to push:$VAR1 = {
'album' => 'Collection',
'artist' => 'Tracy Chapman',
'busy' => 0,
'cover' => 'https://jukeradio.double6.net/music/0e0c375e/cover/',
'endTime' => 1634413426,
'icon' => 'https://jukeradio.double6.net/img/station.png',
'isSong' => 1,
'label' => '',
'remote_title' => 'Talkin\' Bout A Revolution',
'startTime' => 0,
'stationid' => 'jukeradiojukeradio',
'title' => 'Talkin\' Bout A Revolution',
'ttl' => 1634413446,
'year' => '2001'
--------------------
but ... LMS not showing it ...
Code:
--------------------
{
"method": "slim.request",
"result": {
"mode": "play",
"power": 1,
"player_connected": 1,
"player_ip": "192.168.2.124:44839",
"playlist mode": "off",
"playlist shuffle": 0,
"playlist repeat": 0,
"seq_no": "374",
"digital_volume_control": 1,
"rate": 1,
"playlist_loop": [
{
"id": "-143821736",
"type": "mp3",
"artist": "Tracy Chapman",
"album": "Collection",
"year": "0",
"playlist index": 0,
"remote": 1,
"title": "Talkin' Bout A Revolution"
}
],
"remoteMeta": {
"id": "-143821736",
"title": "Talkin' Bout A Revolution",
"artist": "Tracy Chapman",
"album": "Collection",
"year": "0",
"type": "mp3",
"remote": 1
},
"signalstrength": 0,
"mixer volume": 37,
"remote": 1,
"player_name": "Paul Desk",
"playlist_cur_index": "0",
"time": 84.6349078235627,
"playlist_timestamp": 1634412549.42646,
"playlist_tracks": 1,
"current_title": "Tracy Chapman - Talkin' Bout A Revolution"
},
"params": [
"02:0e:8e:24:cc:42",
[
"status",
"-",
"1",
"tags:AalygtoNx"
]
],
"id": 1
}
--------------------
and the year has somehow gone to 0 as well ... but it shows in the
"More" display ... so I'll have to do some more digging.
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