mherger wrote:
> > Is there any way for an app to catch this case in case they want to
> have
> > their own default icon or no icon at all for artists which doesn't
> have
> > any image ?
>
> Not by using the image handler.
>
Would it make sense to offer something like this ?
Code:
--------------------
http://yourserver:9000/imageproxy/mai/artist/[artist_id]/image.png?nodefault=1
--------------------
So apps that don't want the default icon can use a nodefault=1 parameter
to get a 404 error instead of the default icon provided by the plugin ?
I'm not yet sure if this is something I'm going to use, so don't spend a
lot of time on it, but I could see apps that prefer to use their own
default icons because they fit better with their specific UI than the
icon provided by the plugin.
mherger wrote:
>
> There's a CLI query to get the raw URL,
> which in this case would return nothing ("musicartistinfo artistphoto
> artist:abba" or "...artist_id:123").
>
Is there some kind of bandwidth throttling applied in the plugin due to
LastFM license restrictions which I should worry about before starting
to call the CLI command for a long list of artists ?
Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland).
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))
You may also want to try my Android apps 'Squeeze Display'
(https://play.google.com/store/apps/details?id=info.isaksson.squeezedisplay)
and 'RSS Photo Show'
(https://play.google.com/store/apps/details?id=info.isaksson.rssphotoshow)
*Interested in the future of music streaming ? 'ickStream - A world of
music at your fingertips'
(http://forums.slimdevices.com/showthread.php?98467-Pre-Announcement-ickStream&p=743516)*.
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=99537
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins