def _playlist_select(self, widget, data = None): select = playlist_select() path = select._open() select._close() if path != False: self.play.set_resource_path(path) song = songList() list_song = song.songs(path) list_song = set(list_song) self.play._queue_entry(list_song)
def _refresh_playlist(self,widget, data = None): path = self.play.get_resource_path() if path != False: song = songList() self.list_song = song.songs(path) self.play._queue(set(list_song))