INTERACT FORUM
More => Old Versions => JRiver Media Center 19 for Windows => Topic started 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.
-
Check all entries in your library. Add a smartlist, set the Database to All (limit database to...).
-
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.
-
I figured you'd figure this with my hint. :-)
-
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.
-
Got it! :D