Changeset 1019 for trunk/plugins/en/output_SETTING.tcl
- Timestamp:
- 08/23/09 19:22:05 (3 years ago)
- File:
-
- 1 edited
-
trunk/plugins/en/output_SETTING.tcl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/output_SETTING.tcl
r961 r1019 1 #2 #3 1 # vim: fdm=indent fdn=1 4 2 # … … 6 4 ############################################################################### 7 5 # This is a bMotion plugin 8 # Copyright (C) James Michael Seward 2000-200 86 # Copyright (C) James Michael Seward 2000-2009 9 7 # 10 8 # This program is covered by the GPL, please refer the to LICENCE file in the … … 19 17 bMotion_putloglev 4 * "bMotion_plugin_output_SETTING $channel $line" 20 18 21 set lastline "" 22 23 while {[regexp "%SETTING\{(.+?)\}" $line matches settingString]} { 19 if {[regexp "%SETTING\{(.+?)\}" $line matches settingString]} { 24 20 set var "" 25 21 if [regexp {([^:]+:[^:]+):([^:]+):([^:]+):([^:]+)} $settingString matches plugin setting ch ni] { … … 31 27 } 32 28 set line [bMotionInsertString $line "%SETTING{$settingString}" $var] 33 34 if {$lastline == $line} {35 putlog "bMotion: ALERT: couldn't parse $line for %SETTING (dropping output)"36 set line ""37 break38 }39 29 } 40 30
Note: See TracChangeset
for help on using the changeset viewer.
