[mythtv-commits] mythtv commit: r12437 - in trunk/mythplugins by paulh

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Jan 7 14:44:24 UTC 2007


      Author: paulh
        Date: 2007-01-07 14:44:24 +0000 (Sun, 07 Jan 2007)
New Revision: 12437
   Changeset: http://cvs.mythtv.org/trac/changeset/12437

Added:

   trunk/mythplugins/mythzoneminder/mythzmserver/
   trunk/mythplugins/mythzoneminder/mythzmserver/Makefile.standalone
   trunk/mythplugins/mythzoneminder/mythzmserver/README
   trunk/mythplugins/mythzoneminder/mythzmserver/main.cpp
   trunk/mythplugins/mythzoneminder/mythzmserver/mythzmserver.pro
   trunk/mythplugins/mythzoneminder/mythzmserver/zmserver.cpp
   trunk/mythplugins/mythzoneminder/mythzmserver/zmserver.h
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmclient.cpp
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmclient.h
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmdefines.h

Removed:

   trunk/mythplugins/mythzoneminder/mythzoneminder/zmutils.cpp
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmutils.h

Modified:

   trunk/mythplugins/configure
   trunk/mythplugins/mythzoneminder/mythzoneminder.pro
   trunk/mythplugins/mythzoneminder/mythzoneminder/main.cpp
   trunk/mythplugins/mythzoneminder/mythzoneminder/mythzoneminder.pro
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmconsole.cpp
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmconsole.h
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmevents.cpp
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmevents.h
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmliveplayer.cpp
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmliveplayer.h
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmplayer.cpp
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmplayer.h
   trunk/mythplugins/mythzoneminder/mythzoneminder/zmsettings.cpp

Log:

Rewrite the MythZoneMinder plugin to use a client server architecture.
The server runs on the machine where ZoneMinder is running and accepts
connections from any frontend running the MythZoneMinder plugin.

The client(s) and server communicate over a socket so they can be on the 
same machine or on different machines as long as there is some sort of 
network connection between them. If you run the server as either root or
as the same user that ZM uses (usually the same as the apache user) then 
there is now no need to patch the ZM source you can use a stock 
installation of either version 1.22.2 or 1.22.3.

Since a few people have indicated to me that there ZM machine is a separate 
server not running Myth at all the server has been designed to be as lean as
possible and doesn't need Myth or even QT to be installed on the server 
machine.

You will need to run ./configure in the plugins directory to get things working 
(./configure --previous should suffice).

You will also need to go into the MythZoneMinders settings page to make sure 
the IP address and port settings are set to point to your server machine.

There is a README in the mythzmserver directory with some additional info on 
how to install/setup the server and I will update the wiki page later.




More information about the mythtv-commits mailing list