Post Reply 
Search Function
15-11-2015, 15:52
Post: #8
RE: Search Function
(15-11-2015 14:18)Martin H Wrote:  Simon,

Can I just check what will be returned by this response please. I understand that the album artists matching the query will be returned. But is it the case that the query as you have written it WILL NOT return the Albums in which the query name appears on say a single track (in the Artist tag)?

i.e. - if I tag the Mississippi track as artist Kellie While and the album artist as Various Artists. If I search for Kellie will your query find this track/album or not?

I am just making sure I am clear on what your proposal will result in.

From user's perspective I just want to find the artist and I suspect that means both tags need to be searched against but without showing any specific album twice in the response obviously.

Hope this makes sense.

This query:

upnp:class derivedfrom "object.item.audioItem" and ( dc:title contains "foo" or upnp:album contains "foo" or upnp:artist contains "foo" or upnp:genre contains "foo" )

will find the Mississippi track when you search for Kellie but not when you search for Various.

This query:

upnp:class derivedfrom "object.container.album" and ( dc:title contains "foo" or upnp:artist contains "foo" )

will find the album containing the Mississippi track when you search for Various but not when you search for Kellie.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Search Function - Martin H - 07-11-2015, 14:14
RE: Search Function - simoncn - 07-11-2015, 15:28
RE: Search Function - simoncn - 07-11-2015, 16:45
RE: Search Function - Martin H - 08-11-2015, 01:17
RE: Search Function - simoncn - 08-11-2015, 10:13
RE: Search Function - Martin H - 11-11-2015, 00:26
RE: Search Function - Martin H - 15-11-2015, 14:18
RE: Search Function - simoncn - 15-11-2015 15:52
RE: Search Function - Martin H - 15-11-2015, 19:29
RE: Search Function - simoncn - 15-11-2015, 22:14
RE: Search Function - Martin H - 17-11-2015, 15:50
RE: Search Function - simoncn - 17-11-2015, 16:14

Forum Jump:


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