INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MCWS File Search  (Read 1740 times)

DaveL

  • Regular Member
  • Recent member
  • *
  • Posts: 22
  • Alpha Programmer
MCWS File Search
« 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?
Logged

TMA-1

  • World Citizen
  • ***
  • Posts: 107
Re: MCWS File Search
« Reply #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
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: MCWS File Search
« Reply #2 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]
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up