Playlist
public enum Playlist
Playlist modification (Kodi Namespace & Kodi Global Type)
Note
Fuctions inPlaylist
that will give a response are ‘Asynchronous’; others are not
-
The ID of the playlist (Global Kodi Type)
See moreDeclaration
Swift
enum ID : Int, Codable
-
The position in the playlist
Declaration
Swift
typealias position = Int
-
add(stream:
Asynchronous) -
add(songs:
Asynchronous) -
add(musicVideos:
Asynchronous) Add music videos to the playlist (Kodi API)
Declaration
Swift
public static func add(musicVideos: [Video.Details.MusicVideo]) async
Parameters
musicVideos
An array of
Video/Details/MusicVideo
items
-
getItems(playlistID:
Asynchronous)