[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture

Search:


View post   

>> No.37129456 [View]
File: 185 KB, 1583x1286, chrome_2021-10-30_175331.png [View same] [iqdb] [saucenao] [google]
37129456

Does Yomichan work with Anki's plugin Yomichan Forvo Server (https://ankiweb.net/shared/info/580654285).).

I've been testing with the word: 閉塞感

I added `http://localhost:8770/?expression={expression}&reading={reading}` as a custom URL (JSON) source in Yomichan but didn't notice any network requests to the Yomichan Anki plugin when requesting for audio.

I then changed it to just a custom URL (without JSON) and noticed a network request but the placeholder `expression` wasn't populated correctly.

I then changed the custom URL to `http://localhost:8770/?expression={term}&reading={reading}` and now the network request is providing the correct parameters but the Anki plugin throws a socket timeout error.

The Anki plugin is working because when I visit `http://localhost:8770/?expression=閉塞感&reading=へいそくかん`, I get this payload back:

{"type": "audioSourceList", "audioSources": [{"name": "Forvo (fujiko)", "url": "https://audio00.forvo.com/mp3/9222785/76/9222785_76_1940384_1.mp3"}, {"name": "Forvo (poyotan)", "url": "https://audio00.forvo.com/mp3/9699293/76/9699293_76_1940384.mp3"}]}

Navigation
View posts[+24][+48][+96]