×

Add Tracks To Playlists

iOS 14 +

Notes

Add tracks to the selected library playlists

Syntax

addTracksToPlaylist(playlist: <#Unknown Parameter#>, trackIDs: <#Array#>)

Example

addTracksToPlaylist(playlist: Playlist(identifier: "Test", displayString: "My Playlist", catalougeID: "214123", name: "My Playlist", url: "https://example.com", musicURL: "https://example.com", lastModifiedData: March 21st 2022, curator: "Zachary Lineman", artworkColors: "#ffffff", artworkMaxHeight: 256, artworkMaxWidth: 256, artworkURL_thumb: "", artowrkURL_small: "", artowrkURL_medium: "", artworkURL_full: "", editorialShort: "", editorialLong: "", type: 0, songNames: "", songsDict: "", thumbnail: 21124dS), trackIDs: ["1564531202"])