For whatever reason, my image files in two of my decks are all being marked as unused even though they are very clearly in use, e.g., they appear in my reviews on the same day that they were marked as unused. Fortunately, I can just restore the deleted media, but that brings back all my very old deleted media (which I should’ve permanently dumped before). I suppose I could 1. move the media files I know are being incorrectly labeled out of collection.media; 2. delete the real unused media files; and 3. move the media files back into the collection.media forward, but this seems like a bug even if I can work around it for now. This has happened before with some sound files, but this is currently affecting image files specifically.
Any advice?
Edit: I tried doing it again, and instead of marking one of the deck’s media files as unused, it’s now only marking the other deck’s media files as unused… I have no idea what’s going on.
It’s possible you’re misunderstanding what it means in this context for a media file to be “used.” It’s about whether that media file is “used by”/attached to one of your notes in the regular way – like in a [sound:...] or <img... tag.
The first thing you can do is run Tools > Check Database, to make sure everything is indexed correctly in your collection.
Then you should find one of these notes that the media is being deleted for, and figure out why that is.
- Is it being used by the note in some unusual way? Click
< > above the field to open the HTML view.
- Is the filename not recognized because it is truncated, differently capitalized, or has special characters that can’t be parsed?
- This might be apparent in the
Check Media window, if you have similar filenames showing up on both the “Missing” and “Unused” lists.
- If this seems to be the issue, go to
Help/Anki > About – click Copy Debug Info – and paste that here when you reply, because those details are likely to matter.
[Your collection doesn’t appear to be synced to AnkiWeb (at least using the email account you used to post here), so I can’t check myself.]
Cevap vermek için çok teşekkürler
I think it’s likely the unusual use and/or the filename truncation. Let me see if I can remedy those two points.