mherger wrote:
> > --------------------
> > {"playlist
> index":0,"id":19087405,"title":"Animal","artist":"Banabila,
> Machinefabriek","album":"Error Log","year":"2015"}
> > --------------------
> >
> > So it builds the cover url using the id parameter.
>
> Please note that id and artwork id can differ. If you're using the
> status query to get that information, you should include the "c" tag to
>
> get the coverid. Use this value to create the artwork url instead. See
>
> https://github.com/Logitech/slimserver/blob/public/7.9/HTML/EN/html/SqueezeJS/Base.js#L769
>
> That's the code used by the web UI. It's basically looking for a
> artwork_url first (returned if you use "K", but only for some music
> services...), then coverid. Some of that code is probably legacy and no
>
> longer really required. But it should give you an idea.
>
> --
>
> Michael
Ahhh okay that would make sense.
Will try that as soon as i get home. This will also properly speed
things up because caching works per url and coverid is properly common
when its the same cover.
Thanks a lot!
------------------------------------------------------------------------
michi's Profile: http://forums.slimdevices.com/member.php?userid=64133
View this thread: http://forums.slimdevices.com/showthread.php?t=105966
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins