[Koha-bugs] [Bug 11431] Add additional sound options for warnings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 22 19:51:00 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11431

--- Comment #40 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 34642
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34642&action=edit
Bug 11431 [6] - Add the ability to specify arbitrary audio alerts

This patch further enhances our control over Koha audio alerts by
allowing a library to specify custom audio events. A new system
preference is added the combines the functions of the Selector and
Override systems preferences in a list of selector:sound combinations.
These definitions override the default sounds and thus gives the library
a way to completely redefine what events trigger and audio alert, and
what sounds are played!

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Edit the new AudioAlertsCustom system preference and enter the following:
"body:contains('Check in message')": "IM_notification.ogg"
4) Browse to the checkins page, you should hear the default sound
5) Attempt to return an invalid barcode, you should hear your custom sound!

Signed-off-by: Nick Clemens <nick at quecheelibrary.org>

All sounds seemed to work with different .ogg .mp3 .wav sound types in firefox
and chrome.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list