[vlc-commits] [Git][videolan/vlc][master] macosx: Fix playing an item always doing so in library playback mode rather than single item mode
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sun Nov 10 16:39:23 UTC 2024
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 <developer at claudiocambra.com>
- - - - -
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
More information about the vlc-commits
mailing list