Good morning.
I use Anki primarily in the Ubuntu desktop version (Anki 2.1.44), but lately I’ve gotten back to using Ankidroid, too. My problem is that I’ve been using a script to autogenerate mp3 recordings for new French words as I enter them (the gTTS module in Python 3), but this script writes those mp3s to a folder specific to my Ubuntu device ("/home/my_christian_name/French/mp3"). I should obviously have written them to the collection.media folder in my Anki directory, but now that I’ve made my mistake, I am wondering if there is a way to alter the directory on all the thousands of cards I’ve already entered - in bulk. Then, I would only need to transfer the mp3s over to the collection folder and it would automatically sync with Ankidroid.
I’ve considered exporting my French collection to a csv and then writing a Python script to alter all the directories before reimporting that csv. The only problem is that I will then lose scheduling data.
Is there another way?