diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-21 21:41:10 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-21 21:41:10 +0200 |
| commit | 2bd22f79f739136a7d30cf156979e2f2b23b7c65 (patch) | |
| tree | 3e7dcbde757076564c3e74acc3c0394d5775afb2 /input.txt | |
| parent | 6c69ffa83c1a7f534217e5af643c8bd1b4d2078b (diff) | |
fix: detect and load bg-bg audio files in GUI
- Fix scanExistingWords() to detect cards with audio_front/audio_back files
Previously only checked for audio.mp3, missing Bulgarian-Bulgarian cards
- Fix checkForMissingFiles() to also look for bg-bg audio files
Now checks both audio.mp3 (en-bg) and audio_front.mp3 (bg-bg)
- Add check for back audio file in checkForMissingFiles()
Ensures SetBackAudioFile is called when audio_back is loaded later
This fixes the issue where opening an existing Bulgarian-Bulgarian card
would not load the audio files, leaving the play buttons non-functional.
Diffstat (limited to 'input.txt')
0 files changed, 0 insertions, 0 deletions
