kelciour / awesometts-anki-addon

AwesomeTTS text-to-speech add-on for Anki
GNU General Public License v3.0
31 stars 2 forks source link

Can not be compatible with the TTS in AnkiDroid #16

Closed L-M-Sherlock closed 4 years ago

L-M-Sherlock commented 4 years ago

In AnkiDroid, the tags is used. For example:

{{FrontSide}}

<hr id=answer>

<tts service="android" voice="en_GB">{{EnglishTranslation}}</tts>
<br><br>
{{Example}}

When I used AwesomeTTS for Anki 2.1, updated, it can work like this:

<tts service="sapi5com" quality="39" speed="0" voice="Microsoft David Desktop" volume="100" xml="16">
    <tts service="android" voice="en_US">
        {{单词}}
    </tts>
</tts>

However, in the latest version, it occurs an error:

Unable to play this tag:
    <tts service="android" voice="en_US">
        example word
    </tts>
There is no 'android' service.
kelciour commented 4 years ago

Thank you! It's been fixed.