[mythtv-commits] Ticket #11197: Fix event times in MythZoneMinder broken by the UTC changes

MythTV noreply at mythtv.org
Wed Nov 7 17:25:00 UTC 2012


#11197: Fix event times in MythZoneMinder broken by the UTC changes
-------------------------------------+-----------------------------
 Reporter:  mythtv@…                 |          Owner:  danielk
     Type:  Bug Report - General     |         Status:  new
 Priority:  minor                    |      Milestone:  0.26.1
Component:  Plugin - MythZoneminder  |        Version:  Master Head
 Severity:  medium                   |     Resolution:
 Keywords:                           |  Ticket locked:  0
-------------------------------------+-----------------------------

Comment (by paulh <mythtv@…>):

 Thanks for the patch. I'm not really a good test case for it since I don't
 use the deep filesystem support in ZM and we are now back to GMT here so
 no time offsets required. There was one problem I noticed while testing
 I'm getting this error
 {{{
 ZMClient got a mismatch between the number of cameras and the expected
 number of stringlist items in getCameraList()
 }}}

 The problem is because of the way the reply is constructed by the server
 and is then parsed by the client you always get an empty list item tagged
 on the end so the check in getCameraList() would have to be
 {{{
 if ((int)(strList.size() - 3) != cameraCount)
 }}}
 or since the last item isn't used this would be a better way?
 {{{
 if (strList.size() < cameraCount + 2)
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11197#comment:10>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list