I guess I could use that, but it means making multiple calls. What would be *great* is a '["globalsearch", "items", 0, 200, "search:abba", "timeout:15", "tags:..."]' which would automatically search all providers (artists, albums, playlists (including tracks within), tracks, YouTube, Spotify, etc) and return 1 response with loops for all - eg artists_loop, albums_loop, etc. As well as returning meta-data as requested by tags. I guess this'd be a lot of work, so not likely to happen.
That's been the marketing guys' dream 10+ years ago :-). But not only could this be a lot of calls for a simple search, but there's also a lot of differences how searches are handled by the various music services. With some you can request only tracks from album ABC by artist XYZ, with others you'd get one huge response with all possible items (albums, playlists, playlists, tracks...). As you said, doing this would require a lot of work.
Perhaps, as a comporomise, LMS8 could have an API to return a list of searchable services as per browseonlineartist ? e.g. '["searchonline", 0, 200, "service_id:ID", "search:TERM"]' - I'd imagine most services that can browse (via browseonlineartist) can also search? Therefore no need to get another list of services, and each would just need updating to support "searchonline". (Again, it'd be great if these searches returned multiple lists (artists, albums, etc)).
Ah, that's why you asked about the local search? Take the menu and strip off local search to replace it with your own implementation?
-- Michael _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
