mirror of
https://github.com/ankitects/anki.git
synced 2026-01-07 02:53:54 -05:00
Revert: play_tags export
This commit is contained in:
parent
5c1d0087de
commit
05223e1129
2 changed files with 2 additions and 4 deletions
|
|
@ -47,7 +47,7 @@ from aqt.operations import on_op_finished
|
|||
from aqt.operations.deck import update_deck_configs as update_deck_configs_op
|
||||
from aqt.progress import ProgressUpdate
|
||||
from aqt.qt import *
|
||||
from aqt.sound import play_tags
|
||||
from aqt.sound import av_player
|
||||
from aqt.theme import ThemeManager
|
||||
from aqt.utils import aqt_data_path, show_warning, tr
|
||||
|
||||
|
|
@ -725,7 +725,7 @@ def next_card_data() -> bytes:
|
|||
|
||||
def play_avtags():
|
||||
req = PlayAVTagsRequest.FromString(request.data)
|
||||
play_tags(av_tags_to_native(req.tags))
|
||||
av_player.play_tags(av_tags_to_native(req.tags))
|
||||
|
||||
|
||||
def reviewer_action():
|
||||
|
|
|
|||
|
|
@ -932,8 +932,6 @@ def play_clicked_audio(pycmd: str, card: Card) -> None:
|
|||
av_player.play_tags([tags[idx]])
|
||||
|
||||
|
||||
play_tags = av_player.play_tags
|
||||
|
||||
# Init defaults
|
||||
##########################################################################
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue