[vlc-commits] [Git][videolan/vlc][master] macosx: Notify recently added deletions after reload

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Mon Nov 9 07:48:12 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
6d2560cf by Claudio at 2026-11-09T08:26:49+01:00
macosx: Notify recently added deletions after reload

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryModel.m
=====================================
@@ -2267,18 +2267,10 @@ static void libraryCallback(void *p_data, const vlc_ml_event_t *p_event)
 
         if (recentlyAddedVideoIndex != NSNotFound) {
             [recentlyAddedVideos removeObjectAtIndex:recentlyAddedVideoIndex];
-            [self performAfterCacheWritesOnQueue:self->_mediaItemCacheModificationQueue
-                                           block:^{
-                [self.changeDelegate notifyChange:VLCLibraryModelRecentlyAddedVideoMediaListReset withObject:self];
-            }];
             [self resetCachedListOfRecentlyAddedVideoMedia];
         }
         if (recentlyAddedAudioIndex != NSNotFound) {
             [recentlyAddedAudios removeObjectAtIndex:recentlyAddedAudioIndex];
-            [self performAfterCacheWritesOnQueue:self->_mediaItemCacheModificationQueue
-                                           block:^{
-                [self.changeDelegate notifyChange:VLCLibraryModelRecentlyAddedAudioMediaListReset withObject:self];
-            }];
             [self resetCachedListOfRecentlyAddedAudioMedia];
         }
 



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6d2560cfb772673ee202f6d097d0e20096e5b4a8
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list