cpd73 wrote: 
> The order that they appear does not matter, the string is decoded into
> an "object". Your debug shows the following IDs:
> >   > 
  -  "composer_ids":"378401",
  -  "albumartist_ids":"377940"
  -  "artist_id":"378401"
  -  "trackartist_ids":"377940"
  > > > 
> 
> So, "artist_id" (which is the one Material uses for bio) is being set
> not to the album*artist* or the track*artist* but to the composer.
> This does not feel correct to me. Hence my feeling it -might- be an
> LMS issue. For the next release, however, if trackartist_ids is set,
> then I'll use that field instead. This should work-around the issue
> (which I still cannot recreate).

This is quite weird. I can reproduce this behaviour many times over on 2
separate LMS installs (although admittedly with the same library). I
wondered whether it was an LMS version issue but I have upgraded one of
the two installs to the latest nightly and both still display the same
issue. On my main LMS I have also done a complete clear & rescan. 
Eric Clapton's, I Shot The Sherriff gives me Bob Marley's bio every
time. His version of Cocaine gives me J.J. Cale's, and his version of
Stormy Monday gives me T.Bone Walker *but* his version of Little Wing
written by Jimi Hendrix gives me Eric Clapton !!!

Here is the Little Wing debug


Code:
--------------------
    [11:31:25 AM] JSON PLAYER (b8:27:eb:82:34:3c): 
{"playlist_cur_index":"7","playlist 
shuffle":0,"rate":1,"seq_no":0,"player_ip":"10.0.0.209:42130","player_connected":1,"duration":403.133,"waitingToPlay":1,"signalstrength":0,"playlist_timestamp":1565016585.97681,"mode":"play","playlist
 mode":"off","time":0,"playlist 
repeat":0,"power":1,"playlist_tracks":40,"playlist_loop":[{"composer_ids":"378207","bitrate":"750kbps
 VBR","albumartist_ids":"377940","album_id":"146296","album":"Crossroads 2: 
Live In The Seventies","tracknum":"8","genre":"Rock","trackartist":"Eric 
Clapton","duration":403.133,"albumartist":"Eric 
Clapton","trackartist_ids":"377940","composer":"Jimi 
Hendrix","artist_id":"377940","title":"Little 
Wing","coverid":"f3c431e0","playlist 
index":7,"type":"flc","id":1748804,"year":"1996"}],"digital_volume_control":1,"can_seek":1,"player_name":"Office
 USB DAC","mixer volume":80}
  utils.min.js?r=0.9.4:26 [11:31:28 AM] JSON REQ: 
["",["musicartistinfo","lyrics","html:1","track_id:1748804"]]
  utils.min.js?r=0.9.4:26 [11:31:28 AM] JSON REQ: 
["",["musicartistinfo","biography","html:1","artist_id:377940"]]
  utils.min.js?r=0.9.4:26 [11:31:28 AM] JSON REQ: 
["",["musicartistinfo","albumreview","html:1","album_id:146296"]]
--------------------


Here you can see that "composer":"Jimi Hendrix","artist_id":"377940" is
in fact Eric Clapton's artist_id

I think you are correct in saying there is something odd in the LMS code
that causes it but sine Michael has been very quiet I guess he is on
another holiday - lazy B.

If you modify to read trackartist_ids what will you do if there is a
multi value (I assume the _ids designation means it could be a multi
value) - just take the first ?



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to