Handles Spotify playlist container callbacks. To implement you own callbacks, inherit from this class.
Exceptions raised in your callback handlers will be displayed on the standard error output (stderr).
Listen to modifications events on a container.
Stop listenning to events on the container.
This callback is called when the container has finished loading. This event happens after a successful login, or after a modification on the container (after the 3 callbacks described below).
Parameters: container (
spotify.PlaylistContainer) – a playlist container
playlist_added(container, playlist, position, userdata)¶
Called when a new playlist is added to the container.
playlist_moved(container, playlist, position, new_position, userdata)¶
Called when a playlist is moved in the container.