aqt.mediasync#

Classes#

Module Contents#

class aqt.mediasync.MediaSyncer(mw: aqt.main.AnkiQt)#
mw#
last_progress = ''#
start(is_periodic_sync: bool = False) → None#

Start media syncing in the background, if it’s not already running.

start_monitoring(is_periodic_sync: bool = False) → None#
abort() → None#
is_syncing() → bool#
show_sync_log() → None#
show_diag_until_finished(on_finished: collections.abc.Callable[[], None]) → None#
seconds_since_last_sync() → int#
class aqt.mediasync.MediaSyncDialog(mw: aqt.main.AnkiQt, syncer: MediaSyncer, close_when_done: bool = False)#

Bases: aqt.qt.QDialog

silentlyClose = True#
mw#
form#
abort_button#
reject() → None#
reopen(mw: aqt.AnkiQt, syncer: Any, close_when_done: bool = False) → None#