diff --git a/src/controller/buffers.py b/src/controller/buffers.py index 8ce708a..6f10fbe 100644 --- a/src/controller/buffers.py +++ b/src/controller/buffers.py @@ -157,6 +157,8 @@ class audioBuffer(feedBuffer): def play_all(self, *args, **kwargs): selected = self.tab.list.get_selected() + if selected == -1: + selected = 0 audios = [i["url"] for i in self.session.db[self.name]["items"][selected:]] pub.sendMessage("play-audios", audios=audios)