Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use dependency injection for getAudioUri implementation | toasted-nutbread | 2020-03-07 |
| | |||
* | Remove old APIs | toasted-nutbread | 2020-03-07 |
| | |||
* | Create new AudioSystem class | toasted-nutbread | 2020-03-07 |
| | |||
* | Fix block padding | toasted-nutbread | 2020-02-22 |
| | |||
* | Use URLSearchParams | toasted-nutbread | 2020-02-22 |
| | |||
* | Use Map for audioGetFromSources's cache parameter | toasted-nutbread | 2020-02-13 |
| | |||
* | Change no-undef from off to error | toasted-nutbread | 2020-02-11 |
| | |||
* | Update license info URL | toasted-nutbread | 2020-01-01 |
| | |||
* | Update copyright | toasted-nutbread | 2020-01-01 |
| | |||
* | Remove unnecessary escapes from regex literals | toasted-nutbread | 2019-11-26 |
| | |||
* | Replace hasOwnProperty with simplified hasOwn function | toasted-nutbread | 2019-11-26 |
| | |||
* | Replace string.substr and string.slice with string.substring | toasted-nutbread | 2019-11-24 |
| | | | | Improves semantic clarity, and it's recommended to not use substr. | ||
* | Fix overwriting const value | toasted-nutbread | 2019-11-10 |
| | |||
* | Remove Download check when resolving Audio data | sabs | 2019-11-09 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug (seemingly unreported) in Yomichan where an Anki card will not contain any audio if the JapanesePod101 audio source trumps a secondary audio source (e.g. JapanesePod101-alternate) where the jpod101 source can't find the word requested. For example, そして has an audio entry in the alternate source but not the standard source. (Alternatively, there may be a bug in the jpod101 audioUrlBuilder, because I've only noticed this problem with hiragana-only expressions. JPod101 may not host those on the same url scheme any more. I'm not sure how to fix that, though, and the bug I'm addressing here does still persist). The reason this happens is that audioGetFromUrl uses downloaded audio to effectively check for a 404 (by examining the audio duration), but that check doesn't happen when an Anki card is being created (i.e. "download" is set, which I've changed to "willDownload" here). This change removes that check, but retains the will-download intent information to prevent attempts to download tts data, which AnkiConnect cannot do. I've also added a short explanation as to why the download check happens where it does. I think the unused audio object will get garbage collected since it's not referenced again, but I've explicitly unset it as well. | ||
* | Add support for text-to-speech playback | toasted-nutbread | 2019-10-13 |
| | |||
* | Rename audioGetFromSources's createAudioObject argument to download | toasted-nutbread | 2019-10-13 |
| | |||
* | Add option for text-to-speech | toasted-nutbread | 2019-10-13 |
| | |||
* | Implement audio fallbacks | toasted-nutbread | 2019-10-10 |