Git Product home page Git Product logo

arc-console's Introduction

The ARC Console - a ZoneMinder skin

A ZoneMinder skin for the use case of continuous visual display and monitoring of video cameras.

If you do not know what ZoneMinder is and are curious then visit the ZoneMinder Home Page. If you use, or plan to use ZoneMinder, this project should be of interest to you, since I think this new skin is a very good complement to the great system the ZoneMinder authors provide.

Though the architecture of ZoneMinder is very good, and its feature set is both broad and reliable, the existing console interface was clunky and inefficient when used for my most common needs. Thus, I decided to organize the various screens and user interface functions into something that streamlined my day-to-day usage of ZoneMinder. I think my requirements for a user interface are quite common, so am providing this in hopes that others find it useful too.

Note that this is not about simply making the ZoneMinder interface prettier to look at. Rather, it is about improving the user interaction flow.

arc-console's People

Contributors

cassandra avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

arc-console's Issues

Several issues with zoneminder 1.30

In the mainview I see this error on the left site in the middle:

SQL-ERR 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '296''' at line 1', statement was 'select E.*,M.Name as MonitorName,M.Width,M.Height,M.DefaultRate,M.DefaultScale from Events as E inner join Monitors as M on E.MonitorId = M.Id where E.Id = ''296'''

When I click on a camera I get this error instead of the livestream:

SQL-ERR 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1''' at line 1', statement was 'select C., M. from Monitors as M left join Controls as C on (M.ControlId = C.Id ) where M.Id = ''1'''

Errors with skin in newer php versions

The PDO::quote() method used by dbEscape() has changed behavior and partially broken this skin. It used to simply escape any nasty characters in string. It now adds single quotes around the string as well. Thus:

dbEscape(50)

becomes '50'

Thus (in arc-event.php):

$sql = "select E.*,M.Name as MonitorName,M.Width,M.Height,M.DefaultRate,M.DefaultScale from Events as E inner join Monitors as M on E.MonitorId = M.Id where E.Id = '".dbEscape($eid)."'".$midSql;

Becomes an error because $eid is double escaped. This occurs a few times throughout the skin. The solution is to remove the ' characters around it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.