addTracksToPlaylist

abstract suspend fun addTracksToPlaylist(playlist: Playlist, tracks: List<Track>, index: Int, new: List<Track>)

Adds tracks to a playlist.

Parameters

playlist

the playlist to add the tracks to.

tracks

the tracks in the playlist.

index

the index to add the tracks at.

new

the new tracks to add.