Commits

Friedrich Weber  committed 6957603

don't trash the playlist when exceeded

  • Participants
  • Parent commits 7c62dcb

Comments (0)

Files changed (1)

File jambalah/player.py

 
     def quit(self):
         self.running = False
-     
+
     def on_message(self, bus, message):
         """
             message handler. will play the next file at the end of the
             url = self.iterator.next()
         except StopIteration:
             self.stop()
-            self.iterator = None
+#            self.iterator = None # TODO: should we do that? i don't think so. it's cooler without.
         else:
             self.play_now(url)