mherger wrote: > > 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. > > When behaviour is not defined you must expect the surprise :-). But > considering the fact that many artists would take different roles > depending on what work they're on, it's clear to me that you shouldn't > expect a role to be defined without a work. Even classical composers > might be considered performers or conductors if recordings were done > back in the days. > > I'd strongly suggest you don't request online only artists when > filtering by role.
I agree that artists can take different roles, hence why LMS has the different roles. I can change Material, but the API is *broken*. If I ask to filter on a role, *only* artists that match that role should be returned. If an artist has no role, because you cannot detect what it is, then it can't match the filter and should be discarded. *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
