Options -> Web -> WEB_SOUND_ON_ALARM
Options -> Web -> WEB_SOUND_ON_ALARM
I'm not sure if I just don't understand how this works or if this feature actually does work. I have enabled the option and then tried to find the "sounds" directory. I did a bunch of searching and the only "sounds" folder I could find was at /usr/share/sounds. In this directory, I saw several sub-directories that had several different sound effects. I initially thought this was what it was looking for, but it would not trigger any sounds. I then searched around and saw this post, and saw the suggestion to modify the zm.conf file. There was no mention of a ZM_DIR_SOUNDS directory anywhere, so I created a new entry in the configuration file... I wasn't sure if it was looking for a relative or a specific directory location. If it were relative, I'd think it relative to the "www" directory, I create a sub-directory to "www" and set the "ZM_DIR_SOUNDS=sounds". That didn't work. I then tried to put in the long name and changed it to "ZM_DIR_SOUNDS=/usr/share/zoneminder/www/sounds" but that doesn't work either. I've tried all I could think of and hoping someone here could steer me right.
Re: Options -> Web -> WEB_SOUND_ON_ALARM
I also can't get this to work.
I've toggled on WEB_SOUND_ON_ALARM (from Options -> Web) and I've specified an WEB_ALARM_SOUND file as a .ogg file that is in the www/sounds directory. I've even tested that the sound plays on the web if I enter as the URL.
Does anyone have this working?
I'm on 1.36.33.
Thanks
I've toggled on WEB_SOUND_ON_ALARM (from Options -> Web) and I've specified an WEB_ALARM_SOUND file as a .ogg file that is in the www/sounds directory. I've even tested that the sound plays on the web if I enter
Code: Select all
http://localhost/zm/sounds/Soft_Airy_Swish.ogg
Does anyone have this working?
I'm on 1.36.33.
Thanks
Re: Options -> Web -> WEB_SOUND_ON_ALARM
I once had this working but it was very inconsistent across browsers and browsers have gotten more complicated since then. I'll try to find some time to revisit this and post back here.
Re: Options -> Web -> WEB_SOUND_ON_ALARM
Merged, thanks so much. I'll get it into 1.36.34 as well.
-
- Posts: 1172
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Options -> Web -> WEB_SOUND_ON_ALARM
I see 1.36.34 in proposed ppa, but apt doesn't get it?
Re: Options -> Web -> WEB_SOUND_ON_ALARM
Should show up if you have the proposed ppa in your sources.list. What does apt-cache madison zoneminder say?
-
- Posts: 1172
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Options -> Web -> WEB_SOUND_ON_ALARM
Code: Select all
doug@doug-HP-Z400-ZM:~$ sudo apt-cache madison zoneminder
[sudo] password for doug:
zoneminder | 1.36.33-focal1 | http://ppa.launchpad.net/iconnor/zoneminder-1.36/ubuntu focal/main amd64 Packages
zoneminder | 1.36.33~20230223.55-focal1 | http://ppa.launchpad.net/iconnor/zoneminder-proposed/ubuntu focal/main amd64 Packages
zoneminder | 1.32.3-2ubuntu2+esm1 | https://esm.ubuntu.com/apps/ubuntu focal-apps-security/main amd64 Packages
zoneminder | 1.32.3-2ubuntu2 | http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
doug@doug-HP-Z400-ZM:~$
Code: Select all
doug@doug-HP-Z400-ZM:~$ sudo apt policy zoneminder
[sudo] password for doug:
zoneminder:
Installed: 1.36.33-focal1
Candidate: 1.36.33-focal1
Version table:
*** 1.36.33-focal1 500
500 http://ppa.launchpad.net/iconnor/zoneminder-1.36/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
1.36.33~20230223.55-focal1 500
500 http://ppa.launchpad.net/iconnor/zoneminder-proposed/ubuntu focal/main amd64 Packages
1.32.3-2ubuntu2+esm1 500
500 https://esm.ubuntu.com/apps/ubuntu focal-apps-security/main amd64 Packages
1.32.3-2ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
doug@doug-HP-Z400-ZM:~$
Re: Options -> Web -> WEB_SOUND_ON_ALARM
Right. There are build issues on focal. SOmething wrong with my fixes for ffmpeg5.
-
- Posts: 1172
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Options -> Web -> WEB_SOUND_ON_ALARM
OK, thanks.