Add a tag to notes with missing media

<10kB. Updated 2019-05-10. Only supports Anki 2.1.x.

The author has shared 81 other item(s).

Description

When you click on «check media», anki gives the list of missing media. I find that it does not help a lot to correct them. Indeed, I would need to check by hand each missing media in the browser. This add-on ensures that, when «check media» is used, it adds the tag "MissingMedia" to each note with a missing media and open the browser with the notes which have a missing media.

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

2.1.0-2.1.22 (updated 2019-05-10) Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

2027876532

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews





I'm running 2.1.25 & this is what happens when I try to install:



One or more errors occurred:



2027876532: Invalid code, or add-on not available for your version of Anki. Comment from author Please post bug report on github to try to understand what goes on here So bummed this isn't working, that 1 missing media file is driving me bonkers!I'm running 2.1.25 & this is what happens when I try to install:One or more errors occurred:2027876532: Invalid code, or add-on not available for your version of Anki.

It seems very useful!



EDIT: this now happens if I try to check media



Error

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.

If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.

When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.

Debug info:

Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1

Platform: Windows 10

Flags: frz=True ao=True sv=1

Add-ons, last update check: 2020-04-30 03:07:43



Caught exception:

Traceback (most recent call last):

File "aqt\taskman.py", line 65, in _on_closures_pending

File "aqt\taskman.py", line 53, in <lambda>

File "aqt\mediacheck.py", line 70, in _on_finished

File "concurrent\futures\_base.py", line 432, in result

File "concurrent\futures\_base.py", line 388, in __get_result

File "concurrent\futures\thread.py", line 57, in run

File "aqt\mediacheck.py", line 58, in _check

File "C:\Users\Alessandro\AppData\Roaming\Anki2\addons21\2027876532\__init__.py", line 18, in check

for nid, mid, flds in self.col.db.execute("select id, mid, flds from notes"):

AttributeError: 'NoneType' object has no attribute 'execute'

Another addon which makes life wonderfully easier. Thank you!

Great idea.