max-kamps / jpd-breader

MIT License
100 stars 24 forks source link

Add audio support with anki local audio #62

Open Pedrubik2000 opened 1 year ago

Pedrubik2000 commented 1 year ago

https://github.com/themoeway/local-audio-yomichan

This is the request: http://localhost:5050/?term={term}&reading={reading} http://localhost:5050/?term=読む&reading=よむ

{"type": "audioSourceList", "audioSources": [{"name": "NHK16 \u30e8\uff3c\u30e0 [1]", "url": "http://localhost:5050/nhk16/audio\\20180221161451.opus"}, {"name": "SMK8 \u30e8\uff3c\u30e0 [1]", "url": "http://localhost:5050/shinmeikai8/media\\02284.opus"}, {"name": "Forvo (strawberrybrown)", "url": "http://localhost:5050/forvo/strawberrybrown\\\u8aad\u3080.opus"}, {"name": "Jpod101", "url": "http://localhost:5050/jpod/media\\673785119865334efce0a41a63550279.opus"}, {"name": "Jpod101", "url": "http://localhost:5050/jpod/media\\dbdca39f13f68e37ae492a2ce83d372b.opus"}]}