[vlc-commits] [Git][videolan/vlc][master] macosx: Fix audio library not updating when sort changes

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Nov 28 06:50:39 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
ba2f6837 by Claudio Cambra at 2022-11-28T06:28:39+00:00
macosx: Fix audio library not updating when sort changes

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/library/VLCLibraryModel.m


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryModel.m
=====================================
@@ -512,7 +512,9 @@ static void libraryCallback(void *p_data, const vlc_ml_event_t *p_event)
     _cachedGenres = nil;
     _cachedArtists = nil;
     _cachedAudioMedia = nil;
+
     [_defaultNotificationCenter postNotificationName:VLCLibraryModelVideoMediaListUpdated object:nil];
+    [_defaultNotificationCenter postNotificationName:VLCLibraryModelAudioMediaListUpdated object:nil];
 }
 
 @end



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ba2f6837f52a3305af5e11495b504ef934209503

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ba2f6837f52a3305af5e11495b504ef934209503
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list