When I perform a upnp browse action in my application to list the contents of an album I sort the results by Tracknumber. This fails however. Looking at the minidlna output it reports invalid sql syntax. I attached the minidlna output.
Just for the info, this used to work in version 1.21
You're issuing a request with an unsigned (directionless) SortCriteria, which is invalid. You must specify "+upnp:originalTrackNumber" for normal ascending sort, or "-upnp:originalTrackNumber" for a reverse, descending sort. Using just "upnp:originalTrackNumber" is ambiguous and violates the spec.
So this is basically an invalid bug. However, we could handle this error better, so I've gone ahead and checked in a fix for that.
Thanks for the info, it works now!