I decided to use my old frontend to switch between playlists instead of using mpc. However, I’m doing something wrong while adding a playlist to the track list:
#Get all playlists
self.playlists = []
for playlist in self.core.playlists.playlists.get():
self.playlists.append(playlist)
self.core.tracklist.clear()
self.core.tracklist.add(uri=self.playlists[0].uri)
self.core.playback.play()
However, the tracklist ist still empty. I guess it is a similar misunderstanding as with mpc discussed above, but I cannot find something similar to mpc load
in the API doc.