Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Baidu error #49

Open
ghost opened this issue Apr 3, 2021 · 1 comment
Open

Baidu error #49

ghost opened this issue Apr 3, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 3, 2021

Getting this error with baidu:
Request got audio/x-bd-bv Content-Type for web request; wanted audio/mp3
None of its services are working.

@kelciour
Copy link
Owner

kelciour commented Apr 3, 2021

It seems to be working again after removing 'audio/mp3' from response requirements, but I don't know when the add-on will be updated on AnkiWeb and if you'd like to try it, either apply the fix ff0cce9 or replace the full file and restart Anki.

But the API endpoint appears to be outdated, might stop working any time soon and the voices aren't as good as https://ai.baidu.com/tech/speech/tts_online

Maybe, if it's possible, it'd be better to add https://ai.baidu.com/tech/speech/tts_online, but I don't know when I'll be interested to spend time on it and maybe its quality is not as good as Google, Azure, Naver, etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant