Page 1 of 1

More than 5 views in the montage for zmninja?

Posted: Fri Jun 17, 2016 1:39 am
by michaelh99
I've got a zm configuration with 7 active monitors but only 5 show up when go into the montage view.

I can't find any settings to control the number of view available. Oddly enough my wife's phone shows all the views.

Re: More than 5 views in the montage for zmninja?

Posted: Fri Jun 17, 2016 4:35 pm
by asker
michaelh99 wrote:I've got a zm configuration with 7 active monitors but only 5 show up when go into the montage view.

I can't find any settings to control the number of view available. Oddly enough my wife's phone shows all the views.

1) Try hitting the refresh button in montage (two circular arrows) at the top
2) Go to developer settings, make sure Max monitors in montage is not 5
3) If you and your wife are using different login accounts in ZoneMinder, make sure your account does not have restricted monitors specified in ZM web console settings (not zmNinja)

That's all I can think of

Re: More than 5 views in the montage for zmninja?

Posted: Wed Jun 22, 2016 8:29 am
by clumsy
Hi

I have a similar issue. However it shows all selected cams (>20) but only 5 across. How can I tell zmNinja to arrange more than 5 cameras in one line? I'd like something as a 10 x 2 layout at the bottom of the screen...

I just realised this is about the mobile app... I try to do this on a MAC desktop.... any help appreciated!

thx, regards, and keep up the good work, great SW!

Re: More than 5 views in the montage for zmninja?

Posted: Wed Jun 22, 2016 12:33 pm
by asker
This is a different issue. zmNinja uses 20% as the minimum scale for each image - hence 20% * 5 = 100%, which is why you can't have more than 5 monitors across. How many monitors are you looking to organize per row?
clumsy wrote:Hi

I have a similar issue. However it shows all selected cams (>20) but only 5 across. How can I tell zmNinja to arrange more than 5 cameras in one line? I'd like something as a 10 x 2 layout at the bottom of the screen...

I just realised this is about the mobile app... I try to do this on a MAC desktop.... any help appreciated!

thx, regards, and keep up the good work, great SW!

Re: More than 5 views in the montage for zmninja?

Posted: Sat Jun 25, 2016 5:29 pm
by michaelh99
I see what's wrong. You're counting disabled monitors when deciding how many to show in the montage.

For example, I have:

Camera1
Camera2
Camera3 (disabled)
Camera4 (disabled)
Camera5
Camera6
Camera7 (disabled)
Camera8
Camera9
Camera10

I had 10 monitors in dev settings but only 7 were showing when I opened the montage. I'm not sure how the count went from 5 to 7 except perhaps I'd rearranged the cameras in ZM, resulting in more showing up.

When I changed the max monitors to 12, all my enabled cameras showed up.

My recommendation is to not count disabled monitors in the montage. You're already filtering them out for display but you're still incrementing the counter you're using to track against the max allowed.

Re: More than 5 views in the montage for zmninja?

Posted: Sat Jun 25, 2016 5:39 pm
by michaelh99
One request...

When the montage view is refreshed, you maximize the views to occupy the whole screen. Could you also do this when the montage is first opened?

Re: More than 5 views in the montage for zmninja?

Posted: Mon Jun 27, 2016 1:14 am
by asker
michaelh99 wrote:I see what's wrong. You're counting disabled monitors when deciding how many to show in the montage.

.

Argh. Yes, you're right
https://github.com/pliablepixels/zmNinj ... ml#L56-L57
the limit is applied before my ng-if

Good catch. I'm not a good coder, so I need good testers :)
Can you please create an issue here https://github.com/pliablepixels/zmNinja

Re: More than 5 views in the montage for zmninja?

Posted: Mon Jun 27, 2016 6:40 am
by clumsy
asker wrote:This is a different issue. zmNinja uses 20% as the minimum scale for each image - hence 20% * 5 = 100%, which is why you can't have more than 5 monitors across. How many monitors are you looking to organize per row?
Probably around 10 or so (meaning beeing able to go to 10% minimum scale)...

It would be grat to have 2 rows of cams on the bottom of our monitoring screen and therefore see 20 cams in total.

Re: More than 5 views in the montage for zmninja?

Posted: Tue Jun 28, 2016 2:50 pm
by asker
done - the next release will allow you upto 10

Re: More than 5 views in the montage for zmninja?

Posted: Wed Jun 29, 2016 1:02 pm
by clumsy
asker wrote:done - the next release will allow you upto 10
great!

BTW: why is it limited at all? Why not just make a configuration for "A x B" grid?

Re: More than 5 views in the montage for zmninja?

Posted: Thu Jun 30, 2016 4:32 pm
by asker
clumsy wrote: BTW: why is it limited at all? Why not just make a configuration for "A x B" grid?
long story...

Re: More than 5 views in the montage for zmninja?

Posted: Fri Jul 01, 2016 4:08 am
by SteveGilvarry
I've got time :-)

Re: More than 5 views in the montage for zmninja?

Posted: Sun Jul 03, 2016 10:39 pm
by asker
SteveGilvarry wrote:I've got time :-)
Answer:
https://github.com/pliablepixels
Image