Naming convention for media file?


is there any naming convention to make filenames inside unique? If I understand it correctly, the structure is flat, i. e. I cannot create directories. At the moment I am using the add-on name as a prefix. Is there a better way to do this?


If you attach a file with the same name (from inside the app), and it’s the same file – Anki recognizes that and doesn’t re-add the file to

If you attach a file with the same name, and it’s a different file – Anki appends an identifying hash to the filename to make it unique in, like -9d14e6116a6b19e3a21b29a10edf36b7097216ca.