yomidevs / local-audio-yomichan

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

Not working with korean? #32

Open Latrolage opened 1 month ago

Latrolage commented 1 month ago

I downloaded the ko.zip (for korean) from the torrent provided and extracted and renamed the folder so that the file structure is, for example: user_files/forvo_files/02louis11/김치통.opus, I regenerated the database in anki and the statistics show:

image

But when I got to yomitan's settings, and it tries to look up the default word "읽어", there is no reply from the audio server and the command line window anki was launched from says this:

/Applications/Anki.app/Contents/MacOS/anki
Anki starting...
Initial setup...
Preparing to run...
2024-08-27 14:43:43,285:INFO:aqt.mediasrv: Serving on http://127.0.0.1:62259
todo: windows paths in import screen
Starting main loop...
Initializing database. This make take a while...
(init_db) Adding entries from nhk16...
(make_nhk16_table) Cannot find entries file: /Users/user/Library/Application Support/Anki2/addons21/1045800357/user_files/nhk16_files/entries.json
(init_db) Adding entries from shinmeikai8...
(AJTJapaneseSource) Cannot find entries file: /Users/user/Library/Application Support/Anki2/addons21/1045800357/user_files/shinmeikai8_files/index.json
(init_db) Adding entries from forvo...
(init_db) Adding entries from jpod...
(init_db) Adding entries from jpod_alternate...
(init_db) Filling out JMdict forms...
Finished initializing database!
GET: /?term=%EC%9D%BD%EB%8B%A4&reading=%EC%9D%BD%EB%8B%A4
[]

I had it working with japanese before on both the anki addon and using run_server.py from this repository but doing the same steps with the korean files doesn't have the same results.