1
0
mirror of https://github.com/azlux/botamusique synced 2024-11-27 15:44:05 +00:00

Compare commits

..

No commits in common. "100a5d66d99917c90f8b401f3a9072208f79a66c" and "3733353170e1d24b5f3ce2a21643c27ca2a39835" have entirely different histories.

View File

@ -87,11 +87,15 @@ class BasePlaylist(list):
return item return item
def extend(self, items): def extend(self, items):
print("extend to-enter")
with self.playlist_lock: with self.playlist_lock:
print("extend enter")
self.version += 1 self.version += 1
super().extend(items) super().extend(items)
self.pending_items.extend(items) self.pending_items.extend(items)
print("extend leave")
self.async_validate() self.async_validate()
return items return items