INTERACT FORUM

Please login or register.

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

Author Topic: MCWS returns a mysterious date for an album  (Read 1314 times)

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
MCWS returns a mysterious date for an album
« on: September 29, 2013, 10:52:05 am »

I call:
http://localhost:52199/MCWS/v1/Library/Values?Field=Album&Files=[Album Artist (auto)]=[Abba]

The list returned contains:
11/10/2007
The Album
Arrival
Gold: Greatest Hits
The Singles: The First Ten Years
Super Trouper
The Visitors
Voulez-Vous: Deluxe Edition

I have no idea where this is coming from, I don't have an album called like that, not for other artists either.

If anyone can help me trace this down I'd appreciate it.

Thanks.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: MCWS returns a mysterious date for an album
« Reply #1 on: September 29, 2013, 11:35:26 am »

Check all entries in your library.  Add a smartlist, set the Database to All (limit database to...).
Logged
The opinions I express represent my own folly.

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: MCWS returns a mysterious date for an album
« Reply #2 on: September 29, 2013, 11:59:56 am »

Argh ... it's a cover art  ::)

So this made me realize that url is returning all media types, how do I add [Media Type]=[Audio] to that URL?

I tried:
http://localhost:52199/MCWS/v1/Library/Values?Field=Album&Files=[Album Artist (auto)]=[Abba]&Files=[Media Type]=[Audio]
http://localhost:52199/MCWS/v1/Library/Values?Field=Album&Files=[Album Artist (auto)]=[Abba]&[Media Type]=[Audio]

These doesn't work.

Thanks.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: MCWS returns a mysterious date for an album
« Reply #3 on: September 29, 2013, 12:01:24 pm »

I figured you'd figure this with my hint.  :-)
Logged
The opinions I express represent my own folly.

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: MCWS returns a mysterious date for an album
« Reply #4 on: September 29, 2013, 12:04:05 pm »

The search in Files=query must be a valid MC query, and you can combine the terms into a single valid query:

http://localhost:52199/MCWS/v1/Library/Values?Field=Album&Files=[Album%20Artist%20%28auto%29]=[Pink%20Floyd]%20[Album]=[Animals]

AND is the default operator for multiple terms.
Logged
The opinions I express represent my own folly.

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: MCWS returns a mysterious date for an album
« Reply #5 on: September 29, 2013, 12:23:59 pm »

Got it!  :D
Logged
Pages: [1]   Go Up