Anki add-on: open-audio-GSM

This plugin is very WIP. Made this with my tool for making flashcards from games in mind: https://github.com/bpwhelan/GameSentenceMiner This is just a simple addon that adds two buttons to review page and edit page. This is to help tweak audio in case it's not perfect. Two features as of right now. Open Sentence Audio in External Program. Open Sentence Audio in Directory. Opens File Explorer to the anki media directory with the sentence audio highlighted. I will add a config at some point, but at the moment you may need to edit the code at ~/Appdata/Roaming/Anki2/addons21/2116692541 to get this to work. It configures two hotkeys, and two buttons in both the "Tools" section of the menu, and the buttons at the top of the edit page. Also currently windows only. Code you may need to edit: sentence_audio_field = "SentenceAudio" external_tool = os.path.expanduser(r"~\AppData\Roaming\GameSentenceMiner\ocenaudio\ocenaudio.exe") open_audio_in_external_hotkey = 'F14' open_audio_in_directory_hotkey = 'F15'

GitHub repository: bpwhelan/open-audio-anki
Repository description: Simple Anki plugin to simplify opening the sentence audio in an external program, or open file explorer to the file in question
Languages: Python