(self, filename)
Saves the current m3u8 to ``filename``
Saves the current m3u8 to ``filename``
Saves the current m3u8 to filename
def dump(self, filename):
        '''
        Saves the current m3u8 to ``filename``
        '''
        self._create_sub_directories(filename)

        with open(filename, 'w') as fileobj:
            fileobj.write(self.dumps())
def dump ( self , filename ) : self . _create_sub_directories ( filename ) with open ( filename , 'w' ) as fileobj : fileobj . write ( self . dumps ( ) )