Hello!
I’ve a css file imported in the Styling tab of different cards using @import url("_anki.css");.
I’ve verified that the content of the file is synced between my devices only if the Synchronize audio and images too checkbox is checked.
Are the css files considered audio and images?
These are the steps I tried:
Sync between two devices a .css file with some content
From device 1, change the content of the .css file, uncheck the option Synchronize audio and images and sync
Sync on the device 2 and verify that the file didn’t change
Repeat the sync from the device 1, now with the option checked
Sync on device 2 and verify that the css file content changed accordingly
Anki version: 24.06.3 (d678e393)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Let me know if it can be considered a bug, or if I missing something.
Thanks!
Am I wrong or it’s a strange phrasing “Synchronize audio and images too” to say, basically, “Enable media synchronization”. I’ll open a PR asap it that’s the case.
Aside that, is there a way to filter the type of file to upload to the anki web server? Images and sound are exactly the type of files I would exclude.
Thanks!
No, everything in your collection.media syncs to AnkiWeb and your other devices. It’s not a place to store files that your collection doesn’t need. You can run Tools > Check Media to clear out any unused files, so that you’ll stop syncing those.
I was mainly mindfull about the space occupied by the collection and by the time needed to sync, since I switch often to new devices (some of which has very low specs).
Thanks.
The wording is targeted at the average user, who may not realise that “media” refers to sounds and images. If we change the wording, it should still be clear to them (and hopefully, not too verbose).