Handles Spotify playlists 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 playlist.
Stop listening to events on the playlist.
Callback
Called when tracks are inserted in the playlist.
| Parameters: |
|
|---|
Callback
Called when tracks are moved in the playlist.
| Parameters: |
|
|---|
Callback
Called when tracks are removed from the playlist.
| Parameters: |
|
|---|
Callback
Called when a playlist has been renamed. spotify.Playlist.name() can be used to find out the new name.
| Parameters: | playlist (spotify.Playlist) – playlist on which the event occured |
|---|
Callback
Called when state changed for a playlist.
There are three states that trigger this callback:
| Parameters: | playlist (spotify.Playlist) – playlist on which the event occured |
|---|
Callback
Called when a playlist is updating or is done updating.
This is called before and after a series of changes are applied to the playlist. It allows e.g. the user interface to defer updating until the entire operation is complete.
| Parameters: |
|
|---|
Callback
Called when metadata for one or more tracks in a playlist has been updated.
| Parameters: | playlist (spotify.Playlist) – playlist on which the event occured |
|---|
Callback
Called when create time and/or creator for a playlist entry changes.
| Parameters: |
|
|---|
Callback
Called when message attribute for a playlist entry changes.
| Parameters: |
|
|---|
Callback
Called when seen attribute for a playlist entry changes.
| Parameters: |
|
|---|
Callback
Called when playlist description has changed.
| Parameters: |
|
|---|
Callback
Called when playlist subscribers changes (count or list of names).
| Parameters: | playlist (spotify.Playlist) – playlist on which the event occured |
|---|
Callback
Called when playlist image has changed.
| Parameters: |
|
|---|