Skip to content

Commit

Permalink
We must wipe the browse page cache when favorites change
Browse files Browse the repository at this point in the history
  • Loading branch information
mherger committed Apr 26, 2022
1 parent 8699811 commit c1321f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slim/Web/XMLBrowser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ my $prefs = preferences('server');
my $cacheTimestamp;
if ( !main::SCANNER ) {
# Wipe cached data after rescan or library change
Slim::Control::Request::subscribe( \&wipeCaches, [['library','rescan'], ['changed','done']] );
Slim::Control::Request::subscribe( \&wipeCaches, [['library','rescan','favorites'], ['changed','done','changed']] );

$prefs->setChange( \&wipeCaches, qw(itemsPerPage thumbSize showArtist showYear additionalPlaylistButtons noGenreFilter noRoleFilter searchSubString browseagelimit
composerInArtists conductorInArtists bandInArtists variousArtistAutoIdentification titleFormat titleFormatWeb language useUnifiedArtistsList) );
Expand Down

0 comments on commit c1321f2

Please sign in to comment.