glutanimate / hitmarkers

Hitmarkers add-on for Anki
https://ankiweb.net/shared/info/1776869150
Other
8 stars 1 forks source link

Audio problem in combination with audio on FrontCards #4

Open lio3 opened 4 years ago

lio3 commented 4 years ago

Problem description

Hitmarker stopps in combination with the addon AsomeTts the audio of my FrontCards. So the sound of hitmarker gets generated, by getting to the next card, but the vocabulary audio of the FrontCard gets nor read out. Since this is not a problem with the audio on the backcard, I guess that the audio of hitmarker kind of blocks the audio of AwesomeTts. If I deactivate Hitmarker, its not a problem anymore. Any idea what this could be about?

I checked for new versions of anki, but as 2.1.22 is already quite new and a lot of addons dont support the most recent higher versions of anki I'd prefer not to update it to a even higher version. I also dont think the anki version should be the problem here, or?

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):



    Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
    Platform: Windows 10
    Flags: frz=True ao=True sv=1
    Add-ons, last update check: 2020-07-13 11:37:07

    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    AwesomeTTS - Add speech to your flashcards ['1436550454', 2020-07-05T04:17, 'None', '']
    Hitmarkers ['1776869150', 2020-04-01T00:04, 'None', '']

    ===IDs of active AnkiWeb add-ons===
    1436550454 1776869150

    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Button Colours Good Again ['2494384865', 2020-02-09T13:18, 'None', '']
    More Overview Stats ['2116130837', 2020-02-17T17:01, 'None', '']
    Progress Bar ['2091361802', 2017-08-29T21:00, 'None', '']
    Review Heatmap ['review_heatmap', 2018-10-28T23:06, 'None', '']
loveAnkisomuch commented 3 years ago

I encountered a subtle error: Anki can't automatically play audio [.....mp3] /sound in cases that include TYPE. When i disable Hitmarkers, Anki work well again. I hope u fix this problem soon! I am thankful to you for giving us such a great addon!

Uldyssian57 commented 3 years ago

+1 Hitmarkers prevent automatic audio play on FrontCards. In the meantime, you can comment lines 98-106 of "feedback.py" (..\AppData\Roaming\Anki2\addons21\1776869150\feedback.py) to prevent the audio from playing until the problem is solved.