>>>>> Triode  <[EMAIL PROTECTED]> writes:

> What do you have the Behaviour - Compilations settings set as.  I think
> if you select "Group Compilation Albums Together" and rescan it should
> list them as VA?  

That's how I have it set, my config file has

   variousArtistAutoIdentification: 1

And SS does list them as VA in Browse Artists.
Just not Browse Artwork.

> The recent change for browse artwork was done to make VA albums appear
> together.  It is sorting by the albums.namesort value for both the
> order and the alphaPageBar.

What would sorting by albums.namesort have to do with VA?
Maybe you mean contributors.namesort?

Here's the data in my DB for a VA (multiple artist) album (I've
elided the empty columns):

sqlite> select * from albums where title like "Folkscene%3%";
                id = 526
             title = Folkscene Collection, Vol. 3
         titlesort = FOLKSCENE COLLECTION VOL 3
       titlesearch = FOLKSCENE COLLECTION VOL 3
       contributor = 308
       compilation = 1
              year = 2001
           artwork = 7518
sqlite> select * from contributors where id = 308;
                id = 308
              name = Loreena McKennitt
          namesort = LOREENA MCKENNITT
        namesearch = LOREENA MCKENNITT

I suspect all that's needed is a patch something like this:

Index: Slim/DataStores/DBI/DBIStore.pm
===================================================================
--- Slim/DataStores/DBI/DBIStore.pm     (revision 5975)
+++ Slim/DataStores/DBI/DBIStore.pm     (working copy)
@@ -992,6 +992,7 @@
                $::d_import && msgf("Import: Marking album: [%s] as Various 
Artists.\n", $albumObj->title);
 
                $albumObj->compilation(1);
+               $albumObj->contributor($self->variousArtistsObject->id);
                $albumObj->update;
        }
 
Hopefully you get the idea even if it is not syntactically correct.

I may have time tonight to debug and test this hypothesis.

greg
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to