mherger wrote: 
> >> Right click would display popup with Find (selected text) on
> >> Spotify/Qobuz etc.. (probably depending what plugin is installed)
> > 
> > AFAIK, there is no standard API for these searches.
> 
> There's the "Global Search" available, which would then allow you to 
> search a term in any of the search providers. You'd see this on a Touch
> 
> or Radio from the main menu's Search feature. If you were interested I 
> could look into the details of the implementation.
> 
> I believe with something like the following you'd get a menu structure 
> to follow:
> 
> {
>       "id": 0,
>       "params": [
>               "00:04:20...",
>               [
>                       "globalsearch",
>                       "items",
>                       "0",
>                       100000,
>                       "menu:1",
>                       "search:abba"
>               ]
>       ],
>       "method": "slim.request"
> }
> 
> Then you can follow the links to the sub-menus which would be local 
> music, radio stations etc.
> 
> -- 
> 
> Michael

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.

The issue I have sith SlimBrowse is that it only returns titles, not
meta-data - (e.g. track number, disc number, duration, etc). If
SlimBrowse commands would respect "tags" as per other APIs I'd find it
more useful.

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)).



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to