INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: InflatableMouse on September 29, 2013, 10:52:05 am

Title: MCWS returns a mysterious date for an album
Post by: InflatableMouse 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.
Title: Re: MCWS returns a mysterious date for an album
Post by: MrC 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...).
Title: Re: MCWS returns a mysterious date for an album
Post by: InflatableMouse 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.
Title: Re: MCWS returns a mysterious date for an album
Post by: MrC on September 29, 2013, 12:01:24 pm
I figured you'd figure this with my hint.  :-)
Title: Re: MCWS returns a mysterious date for an album
Post by: MrC 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.
Title: Re: MCWS returns a mysterious date for an album
Post by: InflatableMouse on September 29, 2013, 12:23:59 pm
Got it!  :D