INTERACT FORUM

Networks and Remotes => Media Network => Topic started by: DaveL on January 06, 2011, 06:53:55 am

Title: MCWS File Search
Post by: DaveL on January 06, 2011, 06:53:55 am
Is there any way to get the "auto" fields like "Album Artist (auto)" from a files search query?  I'm using "MCWS/v1/Files/Search?Query=[Album]=A Winter's Solstice" and the auto fields are not returned. 

Also, what is the query syntax if I want to match on multiple fields, like the Album and the Artist?
Title: Re: MCWS File Search
Post by: TMA-1 on January 10, 2011, 08:41:33 am
I belive the query for multiple fields should be MCWS/v1/Files/Search?Query=[Album]=A Winter's Solstice&[Artist]=The Artist Name
Title: Re: MCWS File Search
Post by: Matt on January 10, 2011, 09:08:22 am
The search language is the same as used in Smartlists (and other areas of the program).  So you could create a smartlist with the wizard and then use the Import/Export button to get the raw search.

To search two values, use something like this (a single search string):
[Artist]=[The Artist Name] [Album]=[A Winter's Solstice]

So as a URL:
MCWS/v1/Files/Search?Query=[Artist]=[The Artist Name] [Album]=[A Winter's Solstice]