Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
0b9d74bd by Claudio Cambra at 2024-11-10T16:20:56+00:00
macosx: Fix playing an item always doing so in library playback mode rather 
than single item mode

Caused by bad fix for unknown parent group types (which should always
play in single item mode)

Signed-off-by: Claudio Cambra <[email protected]>

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryRepresentedItem.m
=====================================
@@ -270,7 +270,7 @@
 - (void)playImmediately:(BOOL)playImmediately
 {
     VLCPlaylistController * const playlistController = 
VLCMain.sharedInstance.playlistController;
-    if (playlistController.libraryPlaylistMode || self.parentType != 
VLCMediaLibraryParentGroupTypeUnknown) {
+    if (playlistController.libraryPlaylistMode && self.parentType != 
VLCMediaLibraryParentGroupTypeUnknown) {
         [self playLibraryModeImmediately:playImmediately];
     } else {
         [self playIndividualModeImmediately:playImmediately];



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to