![]() |
|
UPnP search on 'Album Artist' ? - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: UPnP search on 'Album Artist' ? (/showthread.php?tid=3063) |
UPnP search on 'Album Artist' ? - CraigD - 09-04-2016 23:32 I'm developing a Qt5 open-home control point. As part of this, I want to be able to search for tracks in the media server – i.e. minimserver. To obtain the search capabilities of the server, I send a GetSearchCapabilities request. Minimserver responds with: Code: upnp:class,dc:title,dc:creator,upnp:artist,upnp:album,upnp:genre,dc:date,@refID,upnp:artist[@role="Composer"],upnp:artist[@role="AlbumArtist"]When searching for tracks I use all the returned capabilities. If I want to search for 'abba' I send the following XML to minim: Code: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">This causes mimim server to fail, with an error logged as: Code: MinimServer: exception while processing action request: java.lang.ArrayIndexOutOfBoundsException: 8 (see crash file for stack trace)If I omit all the search capabilities that contain '[' (e.g. upnp:artist[@role="AlbumArtist"] ) then the search succeeds. However, doing so means I cannot search on 'Album Artist' How can I perform a search of tracks with a certain 'Album Artist' ? I've attached the crash file - but I'm not sure it's of any real use. RE: UPnP search on 'Album Artist' ? - simoncn - 11-04-2016 14:00 Thanks for letting me know about this. I understand what's causing the problem and I am working on a fix. RE: UPnP search on 'Album Artist' ? - simoncn - 18-04-2016 22:22 (11-04-2016 14:00)simoncn Wrote: Thanks for letting me know about this. I understand what's causing the problem and I am working on a fix. This error is now fixed in update 81. Thanks very much for your help with finding this problem. RE: UPnP search on 'Album Artist' ? - CraigD - 19-04-2016 22:16 Works perfectly now! Thanks for the very quick fix :-) |