]> git.ktnx.net Git - mpd-feeder.git/commitdiff
key artists by AlbumArtists
authorDamyan Ivanov <dmn@debian.org>
Thu, 11 Nov 2021 15:11:26 +0000 (15:11 +0000)
committerDamyan Ivanov <dmn@debian.org>
Thu, 11 Nov 2021 15:12:42 +0000 (15:12 +0000)
removes a favouring of compilation albums

perhaps en even better approach would be to consider both AlbumArtist
and Artist

bin/mpd-feeder

index 1d0e23337515e2a627ebe1eac663d43d80aa6900..d553ea3e1d885980f1d851a11da7a45d4688112f 100755 (executable)
@@ -299,7 +299,7 @@ SQL
             foreach my $entry (@$rows) {
                 next unless exists $entry->{file};
                 $self->db_store_song( $entry->{file},
-                    $entry->{Artist}, $entry->{Album} );
+                    $entry->{AlbumArtist}, $entry->{Album} );
                 $song_count++;
             }