Page 1 of 1

Cant't add usb camera to Zoneminder 1.34.19-focal1

Posted: Tue Aug 11, 2020 5:32 pm
by bkjaya1952
You can't add usb camera to Zoneminder 1.34.19-focal1 issued 1 hour ago .

This problem prevails in versions 1.34.17 to 1.34.19

Screenshot from 2020-08-11 22-52-49.png
Screenshot from 2020-08-11 22-52-49.png (207.23 KiB) Viewed 1853 times

Re: Cant't add usb camera to Zoneminder 1.34.19-focal1

Posted: Wed Aug 12, 2020 10:59 am
by bkjaya1952
USB camera can be added to Zoneminder 1.34.19 ,when you copy the codes of device format and capture pallet from Zoneminder 1,34.16 to Zoneminder 1.34.19 ,( using the Inspect Element (Q) in the web browser).
Screenshot from 2020-08-12 15-41-52.png
Screenshot from 2020-08-12 15-41-52.png (260.77 KiB) Viewed 1823 times

The codes of device format and capture pallet of Zoneminder 1.34.16 , 1.34.19 and Zoneminder master 1.35.5 are attached herewith for comparison
zm16-vs-zm19-zmmaster 1.35.5.txt
(6.24 KiB) Downloaded 182 times
Note:- There is no problem in adding USB camera in Zoneminder 1.34.16 and Zoneminder master 1.35.5 . The problem is only in Zoneminder 1.34.17 to 1.34.19

Re: Cant't add usb camera to Zoneminder 1.34.19-focal1

Posted: Thu Aug 13, 2020 11:33 am
by IgRiK
All of kind time of day.
I ask to excuse for translation. I do not know English.
Tried so to correct. It has turned out. Many thanks.
I hope in following release this problem it will be corrected.

Re: Cant't add usb camera to Zoneminder 1.34.19-focal1

Posted: Mon Aug 17, 2020 4:16 am
by bkjaya1952
IgRiK wrote: Thu Aug 13, 2020 11:33 am All of kind time of day.
I ask to excuse for translation. I do not know English.
Tried so to correct. It has turned out. Many thanks.
I hope in following release this problem it will be corrected.
I have got the following link from Mr knight-of-ni ( where Mr Isaac Connor has fixed the problem ). I have tested and found OK.

https://github.com/ZoneMinder/zoneminde ... f7e64d76ab

You will have to edit your monitor.php according to the Mr Isaac Connor's fix at the link

Open the Ubuntu terminal and run to open monitor.php for editing

sudo gedit /usr/share/zoneminder/www/skins/classic/views/monitor.php

Then delete the line 778 to 780 of the opend file for editing .( Which are highlighted in pink color in the file at link )

Then copy the codes highlighted in green in the file at link and paste at line 778 of the opened file for editing.

Then save monitor.php

Restart Zoneminder.

Then you can add the USB camera monitor as usual.

Acknowledgements:-
Thanks to Mr knight-of-ni for informing me about the Mr Isaac Connor's fix
Thanks to Mr Isaac Connor for fixing the problem