yomidevs / local-audio-yomichan

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

Local audio source not being picked for Anki card on Android. #34

Open StyraxBenzoin opened 1 week ago

StyraxBenzoin commented 1 week ago

I have local audio set up on Android, but when making a card, it never picks the local audio option. Only the top web result is picked.

If I put my phone in airplane mode, I can verify local audio is working and is the top position for audio playback sources. But when I make a card, it won't pass the audio to Ankidroid (none at all, in fact, as there is no internet connection for web URLs).

When I take it out of airplane mode and have internet connection, it just grabs the first web audio source. Any idea what could be wrong?

Yomitan Info General Extension version: Yomitan 24.9.16.0 Platform: Android Browser: Chrome Language: en-GB User agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36 AnkiConnect version: Unknown (Anki not running or connected) Installed dictionaries: JMdict (English), BCCWJ, CC100, ICR, JPDB, Narou, VN, JPDB Kanji, KANJIDIC (English), TheKanjiMap Kanji Radicals/Composition, 三省堂国語辞典 第七版, 実用日本語表現辞典, 新明解国語辞典 第八版, 旺文社国語辞典 第十一版, 明鏡国語辞典 第二版, JMnedict, JMdict Forms, アクセント辞典

AnkiDroid Version = 2.18.4 (f867da96b8304edaebd0361326316bc7514f8cde)

Backend Version = 0.1.38-anki24.04.1 (24.04.1 ccd9ca1a8309b80bcb50ddc5d99c7ce63440bce9)

Android Version = 13 (SDK 33)

ProductFlavor = play

Manufacturer = samsung

Model = SM-G986B

Hardware = exynos990

Webview User Agent = Mozilla/5.0 (Linux; Android 13; SM-G986B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.148 Mobile Safari/537.36

ACRA UUID = a3602bae-62bb-4d38-a82b-70e370fb44c1

FSRS Enabled = true

Crash Reports Enabled = true