Release Surveillance Room - Your IP Camera Companion with extra Foscam HD Support
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.
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 Greg-Mega - 2018-02-10, 05:30
Logout Mark Read Team Forum Stats Members Help
Surveillance Room - Your IP Camera Companion with extra Foscam HD Support7