Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
upnp search problems
02-12-2021, 10:37
Post: #1
upnp search problems
I really appreciate the fast response when searching for an album by title for instance. I use this option mainly in order to obtain corresponding album id which can be sent to my upnp/dlna speakers.

Following search criteria do not work (in my opinion):
upnp:class = "object.container.storageFolder"
dc:title contains ""Eroica""
I do not receive any syntax error but just get no match.

Are there restrictions regarding upnp:class?
How can one search for titles containing double quotes?

with kind regards from mick
Find all posts by this user
Quote this message in a reply
02-12-2021, 11:38
Post: #2
RE: upnp search problems
MinimServer doesn't support searching by storage folder. The following classes are supported:

object.container.album.musicAlbum
object.item.audioItem.musicTrack
object.container.playlistContainer
object.container.person.musicArtist

To search for a string containing a double quote, your search query needs to use an escaped string as defined in section 2.3.1 of the ContentDirectory:1 specification. For example, to seach for an album title containing "Eroica" (with literal double quotes) you would use:

upnp:class derivedfrom "object.container.album" and dc:title contains "\"Eroica\""
Find all posts by this user
Quote this message in a reply
02-12-2021, 15:20
Post: #3
RE: upnp search problems
Wow. Thank you for this quick response. Fine with your explanation regarding upnp:class. Double quote works too as you suggested.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)