mirror of
https://github.com/ankitects/anki.git
synced 2026-01-11 04:53:55 -05:00
Fix: Audio played overleaf
This commit is contained in:
parent
f8629bf148
commit
731b27c2f8
1 changed files with 2 additions and 0 deletions
|
|
@ -666,6 +666,8 @@ def next_card_data() -> bytes:
|
|||
raw = aqt.mw.col._backend.next_card_data_raw(request.data)
|
||||
data = NextCardDataResponse.FromString(raw)
|
||||
|
||||
av_player.stop_and_clear_queue()
|
||||
|
||||
if len(data.next_card.queue.cards) == 0:
|
||||
card = None
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue