INTERACT FORUM

Networks and Remotes => Media Network => Topic started by: DaveL on January 05, 2011, 08:15:00 pm

Title: MCWS Library Values
Post by: DaveL on January 05, 2011, 08:15:00 pm
I'm trying to get a list of unique albums in a library using the MCWS/v1/Library/Values URI.  However this isn't really possible since the same album name can be used by more than one artist (think "Greatest Hists").  What I need to get the entries where the "Album Artist" + "Album" returns a unique entry.  Is this possible?

Note that I can "sorta" get this information by parsing the single "AutoDir" field.  But this doesn't seem reliable for all users since it depends on how the directory\files are organized on disk.
Title: Re: MCWS Library Values
Post by: Matt on January 05, 2011, 08:21:08 pm
I'm trying to get a list of unique albums in a library using the MCWS/v1/Library/Values URI.  However this isn't really possible since the same album name can be used by more than one artist (think "Greatest Hists").  What I need to get the entries where the "Album Artist" + "Album" returns a unique entry.  Is this possible?

Internally we often use an album key which is a combination of "Album Artist (auto)" and "Album". 

However, it's not currently possible to get this using MCWS/v1/Library/Values.

As an aside, I don't know if you're doing search, but MCWS/v1/Library/Values is what powers Gizmo search.  You can specify multiple fields and also a filter.
Title: Re: MCWS Library Values
Post by: DaveL on January 05, 2011, 09:14:12 pm
Quote
Internally we often use an album key which is a combination of "Album Artist (auto)" and "Album".  

However, it's not currently possible to get this using MCWS/v1/Library/Values.

Any chance of adding support for this?  You could either add a new auto field similar to the other auto generated fields like "Artist - Album (Year)") or add support for a composite field to the Values field parameter.

Quote
As an aside, I don't know if you're doing search, but MCWS/v1/Library/Values is what powers Gizmo search.  You can specify multiple fields and also a filter.

I'm building a list of all albums for browsing (and playing) on my Windows Phone 7.  Very similar to Gizmo, just with WP7 look and feel.