mherger wrote:
>
>
> > Suggestions for improvements:
> > albumcovers returns image size as one value (WxH or W or H). While
> WxH
> > can be split into W/H, there is no way of knowing if a single value is
> W
> > or H. Returning 2 values (e.g. size_w and size_h) would solve
> this.[/color]
>
> > artistphotos doesn't return image size, although they seem to be
> > avilable in ArtistInfo._getArtistPhotos(). Returning them as
> > size_w/size_h would be quite useful for client apps
>
> I can add width/height. Alas: I wouldn't get them in all cases. You
> can't rely on them being around.
>
Yes, I've noticed that with albumcovers as well (depending on the
source).
While testing, I noticed another quirk. I sometimes get results like
these:
Code:
--------------------
[19-06-18 02:29:20.6027]
Plugins::LMSnewGUI::Plugin::getMAIpluginInfoAlbumCovers (2236)
getMAIpluginInfoAlbumCovers: search for [Robot World - An Original Film Score]
by [Matt Howden]
[19-06-18 02:29:22.3843] Plugins::LMSnewGUI::Plugin::__ANON__ (2240)
getMAIpluginInfoAlbumCovers: result= {'count' => 1,'item_loop' => [{'url' =>
'','size' => 'extralarge','credits' => 'Last.fm'}],'offset' => 0}
--------------------
While I currently filter these out in my plugin, it would be more
elegant if MAI would simple exclude results without a valid url.
>
> Thanks for your feedback!
>
Thanks for writing MAI in the first place - in combination with discogs
discographies, it now covers all metadata I'm interested in...
SW: 'Web UI for LMS'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
| 'Playlist Editor / Generator'
(http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor)
| 'Music Classification'
(http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-))
| 'Similar Music'
(http://forums.slimdevices.com/showthread.php?108495-Announce-LMSmusly-play-similar-music)
| 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/)
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth/ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=99537
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins