make sure we don't mutate list passed to play_from_tags()
This commit is contained in:
parent
98802c9c9a
commit
7504ef6857
@ -87,7 +87,7 @@ class AVPlayer:
|
||||
|
||||
def play_tags(self, tags: List[AVTag]) -> None:
|
||||
"""Clear the existing queue, then start playing provided tags."""
|
||||
self._enqueued = tags
|
||||
self._enqueued = tags[:]
|
||||
if self.interrupt_current_audio:
|
||||
self._stop_if_playing()
|
||||
self._play_next_if_idle()
|
||||
|
Loading…
Reference in New Issue
Block a user