>>>>> Robin Bowes <[EMAIL PROTECTED]> writes:
> I agree. Greg's explanation expresses perfectly how this should be done.
Hi Robin,
Thanks for your support, and for reading through that very long post!
If you're interested in seeing how this would work (I have not yet
implemented the "albumid" part (my step 1) but that would only be
needed if you organize your music some bizarre way), set the "Group
compilation albums together" parameter and then apply the patch below.
You'll have to wipe the cache.
Now back to getting my "sort albums within Browse Artist by year"
patch working in 6.5.
cheers,
greg
Index: server/Slim/DataStores/DBI/DBIStore.pm
===================================================================
--- server/Slim/DataStores/DBI/DBIStore.pm (revision 5821)
+++ server/Slim/DataStores/DBI/DBIStore.pm (working copy)
@@ -1795,7 +1795,7 @@
$::d_info && msg("_postCheckAttributes: Same album
'$album' than previous track\n");
- } else {
+ } elsif (0) {
# Don't use year as a search criteria. Compilations in
particular
# may have different dates for each track...
@@ -1874,6 +1874,9 @@
title => $album,
});
}
+ } else {
+ $::d_info && msg("_postCheckAttributes: Creating album
'$album'\n");
+ $albumObj = Slim::DataStores::DBI::Album->create({ title =>
$album, });
}
# Associate cover art with this album, and keep it cached.
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss