Thread: Dialcentral 1.0
View Single Post
Posts: 240 | Thanked: 48 times | Joined on Apr 2009
#321
Originally Posted by epage View Post
I can't remember when I posted this but I implemented a feature for advanced users to do this. In the "~/.dialcentral/settings.ini" file under the "[alarm]" section is a "notifier = " field. You can set that to a custom app that will be ran every N minutes. I provide a custom notifier as an example in "/usr/lib/dialcentral/example_custom_notifier.py". From my testing it appears to run. It includes the gv_notifier sound code but it is there for example purposes only, I have not tested it.
I gave the instructions a run and was unsuccessful at getting sound to work. If there is anyone here who has can you please enlighten me. We can PM or start a new thread so we do not cloud this one with side convo.

Heres what I tried
vi ~/.dialcentral/settings.ini
notifier = /usr/lib/dialcentral/example_custom_notifier.py

Checked out the custom notifier to see what the file name was calling for. Encoded a short sound byte to 128k alert.mp3 and placed it in /usr/lib/gv-notifier/