platypush/plugins/music/mpd/__init__.py
def rm(self, playlist):
        """
        Permanently remove playlist(s) by name

        :param playlist: Name or list of playlist names to remove
        :type playlist: str or list[str]
        """

        if isinstance(playlist, str):
            playlist = [playlist]
        elif not isinstance(playlist, list):
            raise RuntimeError('Invalid type for playlist: {}'.format(type(playlist)))

        for p in playlist:
            self._exec('rm', p)

        Permanently remove playlist(s) by name

        :param playlist: Name or list of playlist names to remove
        :type playlist: str or list[str]
        
Permanently remove playlist(s) by name
Permanently remove playlist ( s ) by name
def rm(self, playlist):
        if isinstance(playlist, str):
            playlist = [playlist]
        elif not isinstance(playlist, list):
            raise RuntimeError('Invalid type for playlist: {}'.format(type(playlist)))
        for p in playlist:
            self._exec('rm', p)
def rm ( self , playlist ) : if isinstance ( playlist , str ) : playlist = [ playlist ] elif not isinstance ( playlist , list ) : raise RuntimeError ( 'Invalid type for playlist: {}' . format ( type ( playlist ) ) ) for p in playlist : self . _exec ( 'rm' , p )
Permanently remove playlist(s) by name
Permanently remove playlist ( s ) by name
"""
        Permanently remove playlist(s) by name

        :param playlist: Name or list of playlist names to remove
        :type playlist: str or list[str]
        """
self
playlist
Name or list of playlist names to remove
Name or list of playlist names to remove