2013-04-09, 03:45
(2013-04-09, 03:29)MilhouseVH Wrote:I think it's not supported by JSON, at least in Frodo (but I don't know about Gotham).(2013-04-09, 03:21)charrua Wrote: Any chances of adding CD art images to music albums cache preload?Are these artwork types supported by JSON, as the JSON API only describes fanart and thumbnail as valid artwork for Albums.
AFAIK these images (cdart.png) are downloaded by CDArt Manager AddOn straight to the folder where the audio files of the music album are, and then they are cached from there by the skins that support that feature, but the images links are never loaded into the music DB.
What happens if you add the cdart type (whatever type that is) to "extrajson.albums" and run "Jd albums <albumname>" where albumname is an album with cdart - do you get a valid response, or an error (invalid parameter)?
e.g.: This album has cdart.png in its folder, the image is cached and showed by the skin (Aeon Nox (last git version)), but the JSON query returns only thumbnail and fanart:
Code:
texturecache.py jd albums "back in black"
[
{
"title": "Back in black",
"fanart": "image://http://assets.fanart.tv/fanart/music/66c662b6-6e2f-4930-8610-912e24c63ed1/artistbackground/acdc-4e19b4d51609c.jpg/",
"artist": [
"AC/DC"
],
"label": "Back in black",
"albumid": 3244,
"thumbnail": "image://http://userserve-ak.last.fm/serve/300x300/81981459.jpg/"
}
]