Bugzilla – Bug 4726
Formatting settings ignored in browse Ablums
Last modified: 2007-02-01 16:19:59 UTC
In browse Albums, the two formatting settings "Show artist with albums" and "Show year with albums" are ignored when set to "Disabled" and that field is then used as the first sort field. For example, disable "Show year with albums". Then browse Albums and vary the sort order. When the sort is by "Year, Album" or "Year, Artist, Album", the year is still be displayed.
Slim/Schema/Album.pm, near line 108: # Show the year if pref set or storted by year first if (my $showYear = Slim::Utils::Prefs::get('showYear') || ($sort && $sort =~ /^album\.year/)) { $form->{'showYear'} = $showYear; $form->{'year'} = $self->year; }
And looks like the same for artist near line 115. # Show the artist in the album view my $showContributor = ($sort && $sort =~ /^contributor\.namesort/); if (Slim::Utils::Prefs::get('showArtist') || $showContributor) { if (my $contributor = $self->contributors->first) { $form->{'artist'} = $contributor; No problem. Just thought this might have been an oversight rather than intentional.