Bug 39484

Summary: Can't play audio alerts on SCO from an external source
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: Self checkoutAssignee: Lucas Gass (lukeg) <lucas>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: andrew.auld
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 39484: Fix external sounds in self checkout module
Bug 39484: Fix external sounds in self checkout module
Bug 39484: Fix external sounds in self checkout module

Description Lucas Gass (lukeg) 2025-03-30 07:10:44 UTC
To recreate:

1. Enable AudioAlerts 
2. Set something up in the SCO to play a sound from an external source. ( I used #sco_main as my selector )
3. Go to SCO and try to trigger the sound, nothing plays. 

Note: Make sure your browser is not blocking autoplay of sounds
Comment 1 Lucas Gass (lukeg) 2025-03-30 07:14:23 UTC
Created attachment 179902 [details] [review]
Bug 39484: Fix external sounds in self checkout module

To test:
1. Enable AudioAlerts
2. Set something up in the SCO to play a sound from an external source. ( I used #sco_main as my selector )
3. Go to SCO and try to trigger the sound, nothing plays.
4. APPLY PATCH
5. Try steps 2 and 3 again, this time you should hear the sound from an external source.
Comment 2 Lucas Gass (lukeg) 2025-03-30 07:17:46 UTC
Created attachment 179903 [details] [review]
Bug 39484: Fix external sounds in self checkout module

To test:
1. Enable AudioAlerts
2. Set something up in the SCO to play a sound from an external source. ( I used #sco_main as my selector )
3. Go to SCO and try to trigger the sound, nothing plays.
4. APPLY PATCH
5. Try steps 2 and 3 again, this time you should hear the sound from an external source.
Comment 3 PTFS Europe Sandboxes 2025-03-31 09:36:14 UTC
Created attachment 179942 [details] [review]
Bug 39484: Fix external sounds in self checkout module

To test:
1. Enable AudioAlerts
2. Set something up in the SCO to play a sound from an external source. ( I used #sco_main as my selector )
3. Go to SCO and try to trigger the sound, nothing plays.
4. APPLY PATCH
5. Try steps 2 and 3 again, this time you should hear the sound from an external source.

Signed-off-by: Andrew <andrew.auld@openfifth.co.uk>
Comment 4 Andrew Auld 2025-03-31 09:37:31 UTC
Sounds so beautiful!

Lovely work Lucas. :)