diff --git a/modules/gui/macosx/playlist/VLCPlaylistController.h b/modules/gui/macosx/playlist/VLCPlaylistController.h
index 908aaafa5ad6458fb5bb5c007c39c7e95b95cdf7..7276a69ec5918d372d39700594adef2eff3b4760 100644
--- a/modules/gui/macosx/playlist/VLCPlaylistController.h
+++ b/modules/gui/macosx/playlist/VLCPlaylistController.h
@@ -29,6 +29,7 @@ NS_ASSUME_NONNULL_BEGIN
 @class VLCPlaylistDataSource;
 @class VLCPlayerController;
 @class VLCPlaylistExportModuleDescription;
+@class VLCOpenInputMetadata;
 
 extern NSString *VLCPlaybackOrderChanged;
 extern NSString *VLCPlaybackRepeatChanged;
@@ -105,17 +106,17 @@ extern NSString *VLCPlaylistItemsRemoved;
 
 /**
  * Simplified version to add new items to the end of the current playlist
- * @param array array of items. Each item is a Dictionary with meta info.
+ * @param array array of items. Each item is an instance of VLCOpenInputMetadata.
  */
-- (void)addPlaylistItems:(NSArray*)array;
+- (void)addPlaylistItems:(NSArray <VLCOpenInputMetadata *> *)array;
 
 /**
  * Add new items to the playlist, at specified index.
- * @param itemArray array of items. Each item is a Dictionary with meta info.
+ * @param itemArray array of items. Each item is an instance of VLCOpenInputMetadata.
  * @param insertionIndex index for new items, -1 for appending at end
  * @param startPlayback starts playback of first item if true
  */
-- (void)addPlaylistItems:(NSArray*)itemArray
+- (void)addPlaylistItems:(NSArray <VLCOpenInputMetadata *> *)itemArray
               atPosition:(size_t)insertionIndex
            startPlayback:(BOOL)startPlayback;
 
diff --git a/modules/gui/macosx/playlist/VLCPlaylistController.m b/modules/gui/macosx/playlist/VLCPlaylistController.m
index 33d5f2cd40bf70352c37fe47fef793e15ffa560a..1597b8ec000f5f9c04a09d25c87c56b4374671a6 100644
--- a/modules/gui/macosx/playlist/VLCPlaylistController.m
+++ b/modules/gui/macosx/playlist/VLCPlaylistController.m
@@ -311,13 +311,13 @@ static const struct vlc_playlist_callbacks playlist_callbacks = {
 
 #pragma mark - controller functions for use within the UI
 
-- (void)addPlaylistItems:(NSArray*)array
+- (void)addPlaylistItems:(NSArray <VLCOpenInputMetadata *> *)array
 {
     BOOL b_autoplay = var_InheritBool(getIntf(), "macosx-autoplay");
     [self addPlaylistItems:array atPosition:-1 startPlayback:b_autoplay];
 }
 
-- (void)addPlaylistItems:(NSArray*)itemArray
+- (void)addPlaylistItems:(NSArray <VLCOpenInputMetadata *> *)itemArray
               atPosition:(size_t)insertionIndex
            startPlayback:(BOOL)startPlayback;
 {