Great. Maybe this is something relevant to the issue.
Once it’s been changed to UTF-8, try to add a new audio file, i.e.create a new Anki profile, rerun the same code again in the Debug Console to set UTF-8, add a new card, drag-and-drop pronunciation_fr_tête_à_tête.mp3, close the Add window and run Check Media. Maybe it’ll be different this time and report no unused or missing files.
That didn’t do it. I started with shift down, changed input to UTF-8, added a profile, created a card, download a new Forvo file and it didn’t work. Same error message in Media. But there is information.
When I restart the app, it always says “none” for console input the first time I check. Changing “current" to UTF-8 does not stay.
The file names are corrupted on my Mac when I download them. This is the name of the file in the Mac downloads folder.
Is my Mac doing the corruption on download before I upload the file to Anki? I have tried both the U.S. keyboard and ABC Extended keyboard. I am in France.
I downloaded the same file with Chrome, and the file name looks normal with accents, and the audio plays in Anki. It’s odd, as the other French accents work with accents changed in the file name wisen downloaded using Safari.
While it was right of kelciour to think of ruling out normalization, that setting doesn’t actually alter the way media files are handled, so if you have already tried it, I recommend you run it again after changing False to True, as it may cause other problems down the road.
I’ve dug into the issue, and it turns out to be caused by a non-breaking space in the filename. Forvo is not serving the file in a way that Safari understands, causing the accents to be replaced with a different character and a non-breaking space. Forvo will need to fix this, so please report it to them.
The non-breaking space was not being handled by Anki correctly, causing the file not to be found. The next Anki release should fix this for you when you use Check Media.
Thanks for taking the time to look at this. I downloaded 2.1.33 and ran check media. I re-named two files and left the rest. I ran check media again and get the following message. Also, I emailed Forvo and copy/pasted your message.
They do exist in the media file, but they were not repaired. I download the exact same file and add it to the card with the old file that does not work, and the new one works. The same file twice in the same card and the original does not play and the one just added does.
Thanks for all your help. I can easily re-add the files that do not work but thought you would want to know.
Apologies, I thought I replied earlier. Thanks for your help. I haven’t used accents etc. in my file names but I noted that this files specifically had an ampersand in the file title. I removed and renamed the files and it works fine. There are some files which have Arabic/Persian letters and these seem to play ok, but hopefully there won’t be an issue with accents as I have several thousand French language audio files, some of which have accents in the file name. Wouldn’t this be an issue for Anki users whose native language uses the Latin alphabet but with accents? Hopefully if this is a bug, this will be fixed sooner.
Learning Hebrew, using the template from Fluent Forever.
Everything worked perfectly, for many moons. Then, some time over the summer, I would add a new card, and add an mp3, but when using the deck, no audio plays, and there is no play button. E.g. even though the Audio was added the normal way (dragging file from Windows Explorer onto the right edit in the card), it is as if the audio is not there at all.
Just now, I browsed the deck and went to a card that had audio that was not playing, I cleared the file name from the card, moved off the card, moved back on, and dragged an mp3 onto the card. Annnnnddddd, it still does not work.
Older cards, that I made before the problem started, play audio fine.
I am running 2.1.33 on Windows (where I just did sequence above), and whatever the current Android version.
The problem is visible on both windows and phone.
Please give me steps to chase. (I am technical, fwiw)