Open PisoMojado opened 2 years ago
I'm continuing to have issues with the audio in chinese-support-redux even after reinstalling the add-on. Am I missing something? It's probably worth noting that I'm a layman, so the code-specific parts of these posts have eluded my understanding.
@rthomascampbell this change is not merged, the owners of this project have unfortunately not responded to this pull request. You don't need to re-install the plugin: find the file of the same name under 'files changed' in your anki installation and make the same changes I did, and it should work.
hi there, I get the same issues like you, but sadly I know nothing about coding, would please kindly guide me how to fix this thing so I could understand? your help will be so much appreciated. thank you
@rthomascampbell this change is not merged, the owners of this project have unfortunately not responded to this pull request. You don't need to re-install the plugin: find the file of the same name under 'files changed' in your anki installation and make the same changes I did, and it should work.
@PisoMojado Thank you for fixing this and committing the change. The audio is fixed for me now.
The managers of this repo should merge this branch!
This change did the trick for me, thanks a lot for sharing!
google.cn for some reason no longer accepts TTS requests. This is not specific to chinese-support-redux, but it is affected by it so long as the code specifies google.cn as the tld.
You can reproduce the issue using gtts-cli:
PS C:\Users\michael> gtts-cli '超' --tld cn --lang zh-TW --output 超.mp3 Error: 404 (Not Found) from TTS API. Probable cause: Unknown PS C:\Users\michael>
Running this add-on with the change resolves the issue. Please note that due to the way gTTS is behaving, it creates an empty file despite the error, so users may still need to go into their media directories and delete 0 KB files created before this fix.