import logging

from spotify.manager import SpotifyContainerManager as \
    PyspotifyContainerManager

logger = logging.getLogger('mopidy.backends.spotify.container_manager')

class SpotifyContainerManager(PyspotifyContainerManager):
    def __init__(self, session_manager):
        PyspotifyContainerManager.__init__(self)
        self.session_manager = session_manager

    def container_loaded(self, container, userdata):
        """Callback used by pyspotify."""
        logger.debug(u'Container loaded')
        self.session_manager.refresh_stored_playlists()

@@ -456,17 +456,16 @@
 yspotify
-.
 %22%22%22%0A    
@@ -484,16 +484,42 @@
 ebug(u'C
+allback called: playlist c
 ontainer
@@ -584,8 +584,1122 @@
 lists()%0A
+%0A    def playlist_added(self, container, playlist, position, userdata):%0A        %22%22%22Callback used by pyspotify%22%22%22%0A        logger.debug(u'Callback called: playlist %22%25s%22 added at position %25d',%0A            playlist.name(), position)%0A        # container_loaded() is called after this callback, so we do not need%0A        # to handle this callback.%0A%0A    def playlist_moved(self, container, playlist, old_position, new_position,%0A            userdata):%0A        %22%22%22Callback used by pyspotify%22%22%22%0A        logger.debug(%0A            u'Callback called: playlist %22%25s%22 moved from position %25d to %25d',%0A            playlist.name(), old_position, new_position)%0A        # container_loaded() is called after this callback, so we do not need%0A        # to handle this callback.%0A%0A    def playlist_removed(self, container, playlist, position, userdata):%0A        %22%22%22Callback used by pyspotify%22%22%22%0A        logger.debug(%0A            u'Callback called: playlist %22%25s%22 removed from position %25d',%0A            playlist.name(), position)%0A        # container_loaded() is called after this callback, so we do not need%0A        # to handle this callback.%0A

Add missing container callbacks with debug log statements