mherger wrote: > WRT. to Composers (and other roles) when using an online service: as > you're sending the "include_online_only_artists:1" parameter you'll get > all contributors which are online only. As they are online only, we > don't have any tracks of them in the collection. Which means we have no > role information either. But using that "include_online_only_artists:1" > flag you tell LMS to include them anyway. To fix this issue you probably > shouldn't use that flag when limiting by role. > > Please let me know if this is a query you actually got from LMS :D.
No, I add that parameter to all "artists" queries. Still, there may come a time when you can get the artist role from a service (unlikely I know). Nothing in the API says these two cannot be used together. I can check and if a composer/conductor/band role_id is used then don't add this, but I think it would be better if LMS handled it. The, if you ever did get these roles from a service, nothing needs to change. To me the queries read "get me all artists, even ones that are only online, which have role X" *Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 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
