Release Surveillance Room - Your IP Camera Companion with extra Foscam HD Support
(2018-02-10, 05:30)Greg-Mega Wrote: Made a minor modification to this script last night to support 6 cameras in "All Camera" mode. Thought I would share it in case anyone wants 6 cameras in their preview.

Screenshothttps://imgur.com/a/SvzVG

The changes I made to the code are all in the plugin.videosureillanceroom\resources\lib\allcameraplayer.py which i have uploaded here: 

https://www.dropbox.com/s/rgdzr0qrgy3y7f...er.py?dl=0

Only 3 changes were required to the code above:
  • Adjusting the coords array for the different layout and including the coords for the two addition cameras (line 56).
  • Adjusting the animations array to define WindowOpen and WindowClose animations for the two additional cameras (line 67).
  • Adjusting the loop to loop through 6 cameras instead of 4 (line 87).

There are still a couple of things I'll do eventually to neaten this up:
  • Fix the animations array so they animate in and out correctly, at the moment the positioning is still for the 4 camera layout so they do some interesting things when they animate in and out but to be honest I'm likely to ditch the animation all together because it's a bit lame.
  • The layout is one pixel off width wise, I can only tell when i remotely access my Kodi box on the TV i can't tell. It's off because 1280 / 3 = 426.6666666667px and I used 426px so it could be fixed by making a couple of the cameras 1px wider.

But I need to mount my two new cameras as they're pointing at the ceiling in the garage at the moment so that's priority over fixing up the above.   

I use this MOD of the original addon, and it gives me all my six cameras on screen "All Camera" view.
Since the link from the modder do not work, I will upload it again. You can replace the whole "plugin.video.surveillanceroom" folder with the one in the ZIP file.
Credit is due to the original developer of the addon (maikito26) and (Greg-Mega) for adding the mod "6 cameras in All Camera" view.

https://www.dropbox.com/s/y081mvgmold7rr...m.zip?dl=0

If the admins finds this reupload against the forum or community rules, please remove it.
Reply


Messages In This Thread
All Cameras - by zaxcom - 2016-08-25, 03:17
Axis M211 - by OnkelKraecker - 2017-03-08, 13:36
RE: Axis M211 - by jinux - 2017-03-08, 14:43
Axis M 211 - by OnkelKraecker - 2017-10-13, 12:57
RE: Axis M 211 - by maikito26 - 2018-01-24, 15:00
RE: Surveillance Room - Your IP Camera Companion with extra Foscam HD Support - by pcextreme - 2019-10-24, 12:01
Logout Mark Read Team Forum Stats Members Help
Surveillance Room - Your IP Camera Companion with extra Foscam HD Support7