Ejemplo n.º 1
0
 def API_getAllPlaylists(self):
     all_playlists = [playlist.to_dict() for playlist in Playlist.get_all()]
     all_playlists = filter(lambda x:x['name'][0:len(self.ampdbname)] != self.ampdbname,all_playlists)
     return all_playlists 
Ejemplo n.º 2
0
 def API_getAllPlaylists(self):
     return [playlist.to_dict() for playlist in Playlist.get_all()]