Playlists

This library allows you to create, modify and delete playlists, note that this is mostly about the tidalapi.playlist.UserPlaylist class, you can’t modify other’s playlists

Creating a playlist

playlist = session.user.create_playlist("Example playlist", "An example of a playlist")
print(playlist.name)

Adding to a playlist

playlist.add([133937137, 71823815])
[print(x.name) for x in playlist.tracks()]

Removing from a playlist

playlist.remove_by_index(0)
playlist.remove_by_id(71823815)
print(playlist.tracks())

Deleting a playlist

playlist.delete()