Eduard wrote:cyberclwn wrote:And i ment, that it is now showing the composer on the overview, within Domoticz. As you can see on the 2 screenshots i added later to the post.
I'm not sure if it is a LMS-setting or not. But in LMS the (Album')Artist is "Melanie C", but in domoticz it shows "Dee Adam", which is, according to LMS, the composer of the song

Ok tnx, i will look at this
Hey,
I was not understanding this (I get annoyed when i don't know what the problem is, sometimes

) and i just had to look into this more. Since i don't know the C++ language i won't be able to supply you with a fix, sorry. But getting into the JSON with curl (something i am getting to know better by this) i noticed this:
Looking in the source it seems you query the tags "lady":
Code: Select all
{"params":["<player_id>",["status","-",1,"tags:lady"]]
[{"playlist index":18,"id":248130,"title":"Beautiful Mind","album":"The Sea","artist":"Dee Adam","duration":"222.053","year":"2011"}]
But there seems to be a difference (sometimes?) between "a" and "A".
Code: Select all
{"params":["<player_id>",["status","-",1,"tags:lAdy"]]
[{"playlist index":18,"id":248130,"title":"Beautiful Mind","album":"The Sea","albumartist":"Melanie C","composer":"Dee Adam","trackartist":"Melanie C","duration":"222.053","year":"2011"}]
You can query them both, but then it gets more confusing:
Code: Select all
{"params":["<player_id>",["status","-",1,"tags:laAdy"]]
[{"playlist index":18,"id":248130,"title":"Beautiful Mind","album":"The Sea","artist":"Dee Adam","albumartist":"Melanie C","composer":"Dee Adam","trackartist":"Melanie C","duration":"222.053","year":"2011"}]
I think a possible solution will be to query them both, with laAdy. Then if the "trackartist" is found, use that one to display as "Artist". If the "trackartist" is empty, or not found, use the "artist"-field.
Because when i checked a file without the album-/track-artist and composer, i still get the field artist returned.
What's your thought about that ?