Liresol / anki-custom-shortcuts

Custom Keyboard Shortcuts for Anki 2.1
MIT License
60 stars 14 forks source link

Conflict with recording sound in Browser/Editor using keyboard (F5/Enter) #202

Open daddydave opened 1 year ago

daddydave commented 1 year ago

There appears to be a conflict between the addon and recording audio in the Browser/Editor using F5 and Enter to stop and save. The audio is saved into collection.media and you hear it in Anki after saving, but the normal tags in the style [sound:rec##########.mp3] do not appear. They do appear if you use the microphone on the toolbar. Per the addon configuration (default), it does say:

"editor record sound": "F5",

Nemaui and I were both able to get normal recording behavior after disabling the addon, see https://forums.ankiweb.net/t/anki-not-saving-recorded-audio-with-shortcut/29815

daddydave commented 1 year ago

Aha, found a workaround.

Go to the line in the addon config that says

    "editor record sound": "F5",

Change it to

    "editor record sound": "<nop>",

Now F5 works again