Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 3 years ago

Closed 3 years ago

#9695 closed Patch - Bug Fix (fixed)

Fix MythZoneminder remote camera source display

Reported by: otto@… Owned by: paulh
Priority: minor Milestone: 0.25
Component: Plugin - MythZoneminder Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

MythZoneminder? Console shows /dev/video type of source for remote cameras when there should be hostname/ip of remote cameras instead. This is how ZoneMinder? website identifies remote cameras.

Attached patch:

  • modifies mythzmserver to get addition Host value from the DB
  • handle local and remote monitors separately when parsing zmaStatus
  • for consistency, change DB column names in one SQL query to start with capital letter (id -> Id)

Patch has only been tested with remote cameras, don't have any local ones.

Attachments (1)

mythzmserver-host.patch (4.7 KB) - added by otto@… 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by otto@…

comment:1 Changed 3 years ago by Github

  • Milestone changed from unknown to 0.25
  • Resolution set to fixed
  • Status changed from new to closed

MythZoneminder?: Fix remote camera source display on the status page.

This just updates the server to get the correct details for remote cameras. I
can't actually test this since all my cameras are local but it look correct to
me. Fixes #9695.

Signed-off-by: Paul Harrison <pharrison@…>

Branch: master
Changeset: e7003f92a2c7adff8604b10dbff732f3caa3c7d7

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.