Isaac Connor
f9f78e9aa3
Convert event_id to a 64bit unsigned int
2018-04-12 13:40:11 -07:00
Isaac Connor
2af539e916
Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
2018-04-12 11:39:30 -04:00
Isaac Connor
3b7992a39b
converity scan fixes, and close the .mp4 after updating the db record.
2018-04-12 10:22:46 -04:00
Isaac Connor
db0dac6eb2
Don't use static sql when multiple threads might be using it
2018-04-10 13:06:36 -07:00
Isaac Connor
9fde052d39
merge
2018-04-03 14:41:32 -07:00
Isaac Connor
2107e5b223
whitespace
2018-03-23 12:50:53 -04:00
Isaac Connor
ede13ac41b
put all db access after finishing encoding, because we don
...
't care when they happen, and we need the encoding done.
2018-03-02 18:25:20 -08:00
Isaac Connor
1bc6e40fbc
add mutex locking around mysql functions so that we can go multi-threaded
2018-03-01 19:20:52 -08:00
Isaac Connor
c9bc5a8cd8
if given timestamp is in the future, reset it, it is likely invalid
2018-01-31 14:33:20 -05:00
Isaac Connor
218e34a079
Can only have 6 digitals, not 8
2018-01-30 11:23:09 -05:00
Isaac Connor
5a3d0b944e
Detect invalid delta_time and don't exit on failed mysql
2018-01-26 12:21:12 -05:00
Isaac Connor
9284e26512
get rid of the snapshot setting. If we aren't storing all frames, then we should always store the snapshot.
2018-01-13 15:15:14 -05:00
Isaac Connor
2922a86d23
fixes to new Storage Schemes code
2017-12-19 11:01:03 -05:00
Isaac Connor
8a8001f14a
fix missingc_str()
2017-12-18 13:25:24 -05:00
Isaac Connor
705a98276f
change StorageScheme to Scheme
2017-12-18 13:17:43 -05:00
Isaac Connor
d312482a2b
add StorageScheme to Storage and Events. Deprecate ZM_USE_DEEP_STORAGE
2017-12-18 12:52:26 -05:00
Isaac Connor
2df96bf6ee
use the return value of stat
2017-12-12 12:51:54 -05:00
Isaac Connor
0eb2ae60f3
only try to write timecodes if the open was successful
2017-11-22 12:13:28 -08:00
Isaac Connor
3c55daaf36
Merge branch 'tesla' of github.com:connortechnology/ZoneMinder into tesla
2017-11-22 12:10:54 -08:00
Isaac Connor
a1fe0c4de3
store the value of saveJpegs in the event
2017-11-21 23:56:22 -05:00
Isaac Connor
159c0a7165
moer cppcheck fixes
2017-11-17 07:52:26 -05:00
Isaac Connor
2d3aa08303
include <0 in test on event frame timestamp
2017-10-23 09:56:30 -04:00
Isaac Connor
666233af54
fix mving capture_file_format to staticCOnfig
2017-10-18 20:46:26 -04:00
Isaac Connor
ad97023732
spacing
2017-10-12 08:54:43 -07:00
Isaac Connor
8ea335d45e
whitespace
2017-10-10 15:08:24 -04:00
Isaac Connor
7b2163f824
add debug
2017-10-10 12:58:06 -04:00
Isaac Connor
219b7e0f36
output failing sql
2017-10-08 09:13:56 -04:00
Isaac Connor
869d2b4f16
make failure to symlink non-fatal. Someday we may want to use a file store that doesn't do symlinks
2017-09-25 16:22:41 -04:00
Isaac Connor
c241b6dddd
Merge branch 'split_zmeventstream' into storageareas
2017-06-22 10:46:32 -04:00
Isaac Connor
226514e887
split EventStream into it's own files
2017-06-22 10:10:28 -04:00
Isaac Connor
76f63686cb
Merge branch 'fix_event_viewing' into storageareas
2017-06-22 09:24:31 -04:00
Isaac Connor
5e75588bfb
Fix event viewing. Output a frame immediately on zoom in/out. Fix recursive loop on play/pause
2017-06-21 17:14:02 -04:00
Isaac Connor
f0d80ddfd4
fix runstate merge
2017-06-13 21:18:09 -04:00
Isaac Connor
7a67a5e475
fix merge
2017-06-13 21:15:58 -04:00
Isaac Connor
085d239a6e
Merge branch 'master' into storageareas
2017-06-13 18:02:28 -04:00
Andrew Bauer
bf04a68085
Merge pull request #1752 from connortechnology/filter_by_runstate
...
rough in the ability to filter on RunState
2017-06-12 20:54:17 -05:00
Andrew Bauer
bacf65ae9a
Migrate values from Options -> Paths to zm.conf ( #1908 )
...
* initial commit to migrate contents of Options->Paths to zm.conf
* remove paths items from configdata.pm
* remove paths tab from options
* update deb packaging scripts with new cmake vars
* remove extraneous file
* save custom paths variables to config file before dB is freshened
* don't check configs if the dB version is >= 1.31.0
2017-06-12 21:39:37 -04:00
Isaac Connor
01717a5c14
Merge branch 'master' into filter_by_runstate
2017-06-06 20:34:47 -04:00
Isaac Connor
9534c725d6
Merge branch 'master' into storageareas
2017-06-05 09:21:37 -04:00
Isaac Connor
187bec40ec
Fix #1906
2017-06-05 09:05:17 -04:00
Isaac Connor
a515041e14
Merge branch 'master' into storageareas
2017-05-23 15:17:46 -04:00
Isaac Connor
03495e8c23
fix
2017-05-20 09:54:03 -04:00
Isaac Connor
1ab8530aed
use enum values to make code more readable. Better error message on event insertion failure
2017-05-20 08:34:46 -04:00
Isaac Connor
7ecbcd8f12
code documentation
2017-05-20 08:26:55 -04:00
Isaac Connor
7caeee6bf8
Merge branch 'master' into storageareas
2017-05-19 15:09:44 -04:00
Isaac Connor
e7ca892efd
merge more differences from SA
2017-05-19 15:07:41 -04:00
Isaac Connor
91138ba8a1
Merge branch 'master' into storageareas
2017-05-19 14:53:08 -04:00
Isaac Connor
44e5b6f829
remove redundant code
2017-05-19 14:52:45 -04:00
Isaac Connor
9e54efdfcf
Merge branch 'master' into storageareas
2017-05-19 14:49:25 -04:00
Isaac Connor
7c889add76
cleanup sql to load event data. Don't need MonitorName
2017-05-19 14:43:49 -04:00