Skip to content
Snippets Groups Projects
Commit cea7e52b authored by Claudio Cambra's avatar Claudio Cambra Committed by Steve Lhomme
Browse files

macosx: Fix playback of audio carousel items when library playback mode is enabled


Signed-off-by: default avatarClaudio Cambra <developer@claudiocambra.com>
parent 39a6f9b4
No related branches found
No related tags found
1 merge request!4907macosx: Fix playback of audio carousel items when library playback mode is enabled
Pipeline #436506 passed with stage
in 27 minutes and 40 seconds
......@@ -240,6 +240,12 @@
NSArray<VLCMediaLibraryMediaItem *> * const parentItems = self.parentMediaArray;
const NSUInteger parentItemCount = parentItems.count;
if (parentItemCount == 0) {
[self playIndividualModeImmediately:playImmediately];
return;
}
const NSUInteger itemIndexInParent = self.itemIndexInParent;
const NSUInteger startingIndex = itemIndexInParent == NSNotFound ? 0 : itemIndexInParent;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment