Solution for Issue 170

This would be a valid solution for the problem I talked about on https://github.com/ZoneMinder/ZoneMinder/issues/170