def playlistcontainer(self): container_struct = self.__session_interface.playlistcontainer( self.__session_struct) if container_struct is not None: pi = _playlistcontainer.PlaylistContainerInterface() pi.add_ref(container_struct) return playlistcontainer.PlaylistContainer(container_struct)
def publishedcontainer_for_user_create(self, canonical_username): return playlistcontainer.PlaylistContainer( self.__session_interface.publishedcontainer_for_user_create( self.__session_struct, canonical_username))