While integrating some of the newer features of MAI into the extGUI4LMS plugin, I've come across the following issues:
Documentation in CLI.md: > musicartistinfo lyrics [artist:abba title:waterloo | album_id:123 | > url:] uses track_id, not album_id. Also, the resulting behaviour depending on which parameter is set is very confusing to me. It seems track_id (or url) and no artist/title: only local lyrics track_id and artist/title: cached lyrics (if available) or local lyrics (if not). If both fail, finally online search artist/title and no track_id: cached lyrics (if available) or online search (if not) Is this correct? This is also fundamentally different to the other functions (e.g. albumcovers), which seem to have the same behaviour no matter if _id or text is passed (by converting _id to text). IMHO, this approach seems more consistent / deterministic and less error prone. > Textual content returned using these queries would be text only, > stripped from any formatting of whatever is found on the internet. No > images, no formatting, nothing. albumreview and biography can take a html:1 parameter to return formatted content 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. 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 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 plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins