themoeway / local-audio-yomichan

Anki add-on to run a local audio server for Yomichan.
MIT License
91 stars 11 forks source link

Set Content-type for audio files to audio/ #6

Closed ctpk closed 1 year ago

ctpk commented 1 year ago

NHK audio files are stored in .aac format, but I noticed that when making a card with them, the audio files get renamed to a .mp3 extension (without doing any conversion). The audio still plays in the desktop Anki app, but raises an error in the iphone app.

I tracked this behavior down to two issues, one in the yomichan repo (FooSoft/yomichan#2302) and this one here.

Aquafina-water-bottle commented 1 year ago

Looks good, thanks for tracking down the issue!