"Play Sound" action in filter does not allow selection of any sound (file)
macOS 15.7.3 / TB 147.0.2 / FiltaQuilla 6.1
It seems on my end that the "Play Sound" action is broken, or actually, one cannot select any sound or sound file. Clicking the folder button does nothing.
I am not sure if the empty field is supposed to be a file path to a sound file?
https://quickfilters.quickfolders.org/filtaquilla.html#details-actions does not list the action. I also wonder which sound file types are supported.
Workaround: As I was testing by entering some file paths manually, I find this behavior: Once any one or several characters have been entered into the empty field, the folder button starts working and shows a file selection dialog as expected :). So this is some UI issue.
Just selected a .wav file and it worked when testing the play button. .mp3 files play as well. .aiff files unfortunately launch the Music app, so they do not play despite being selectable, but open with the default app for the file type.
The file picker should have been fixed in #380 for v6.1. Might be an issue with MacOS - can you provide a JavaScript error log?
Works for me in Windows with v6.2pre17:
Try enabling debug mode and the option debug,sounds on FiltaQuilla settings >> Help / About:
When I open the folder I get a bunch of messages of this type in error console:
FiltaQuilla (toneQuillaPlay module)
File already exists: I:\Thunderbird_Profiles\ct4akusa.Beta-Test\extensions\filtaquilla\squishbeat.ogg
FiltaQuilla (toneQuillaPlay module)
File already exists: I:\Thunderbird_Profiles\ct4akusa.Beta-Test\extensions\filtaquilla\TheBrightestStar.ogg
FiltaQuilla (toneQuillaPlay module)
File already exists: I:\Thunderbird_Profiles\ct4akusa.Beta-Test\extensions\filtaquilla\squeak.wav
FiltaQuilla (toneQuillaPlay module)
File already exists: I:\Thunderbird_Profiles\ct4akusa.Beta-Test\extensions\filtaquilla\notify-1.wav
FiltaQuilla (toneQuillaPlay module)
File already exists: I:\Thunderbird_Profiles\ct4akusa.Beta-Test\extensions\filtaquilla\pour-1.wav
I think that starts initialisation of the ToneQuilla module which tries to unpack the sounds contained within FiltaQuilla. See if it throws exceptions for you?
Expected protocol when playing a sound:
ToneQuilla [SOUNDS] 10:18:56 - 851
play(I:\Thunderbird_Profiles\ct4akusa.Beta-Test\extensions\filtaquilla\applause.mp3) ... ToneQuillaPlay.sys.mjs:87:13
FiltaQuilla (toneQuillaPlay module)
determined mimeType = audio/mpeg
ToneQuilla [SOUNDS] 10:18:56 - 855
Audio playback started: file:///I:/Thunderbird_Profiles/ct4akusa.Beta-Test/extensions/filtaquilla/applause.mp3 - should take 2066.875ms ToneQuillaPlay.sys.mjs:87:13
ToneQuilla [SOUNDS] 10:18:56 - 855
After sound ended we still have 2062.875 to wait! ToneQuillaPlay.sys.mjs:87:13
I find the following in the error console:
When I add the "Play Sound" action:
When I click the folder button:
Let me deal with debug mode tomorrow, cannot spend more time right now. Maybe the console log was already helpful for now... :-}
Maybe. but I prefer (complete) text dumps. obviously we already dealt with the problem in #380 with a default value (possibly the profile root) which fails for some reason on your system. We will find out.
I am attaching the full error console export file, with slight edits for privacy, and I added "***" comments for my UI actions.
Hope it will be a treasure trove. The log starts with launching Thunderbird. Some issues are listed for Filtaquilla logs during launch. After launch I opened the message filters window, clicked NEW for a new filter, then changed the first action to "Play Sound", then clicked the folder icon, clicked the play icon, entered a valid sound path and clicked play icon (sound did play), then removed path and clicked play icon again.