ActionStreamer 1.2.3__tar.gz → 1.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/PKG-INFO +1 -1
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/Model/Model.py +100 -29
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/pyproject.toml +1 -1
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/README.md +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/CommonFunctions/CommonFunctions.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/CommonFunctions/Wifi/Wifi.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/CommonFunctions/Wifi/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/CommonFunctions/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/Config/Config.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/Config/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/Device/Device.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/Device/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/Model/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/API/API.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/API/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/Event/Event.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/Event/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/EventPreset/EventPreset.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/EventPreset/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/File/File.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/File/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/Health/Health.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/Health/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/LogMessage/LogMessage.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/LogMessage/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/Patch/Patch.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/Patch/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/Tag/Tag.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/Tag/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/VideoClip/VideoClip.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/VideoClip/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/__init__.py +0 -0
|
@@ -68,8 +68,7 @@ class EventType:
|
|
|
68
68
|
|
|
69
69
|
class Event:
|
|
70
70
|
|
|
71
|
-
def __init__(self, key: int, userID: int, deviceID: int, agentTypeID: int, agentID: int, eventTypeID: int, serverEvent: int, eventStatus: str, eventParameters: str, processID: int, result: str, percentComplete: int, priority: int, expirationEpoch: int, attemptNumber: int, maxAttempts: int, checkoutToken: str, tagString: str, tagNumber: int, creationDate: str, createdBy: int, lastModifiedDate: str, lastModifiedBy: int):
|
|
72
|
-
|
|
71
|
+
def __init__(self, key: int, userID: int, deviceID: int, agentTypeID: int, agentID: int, eventTypeID: int, serverEvent: int, eventStatus: str, eventParameters: str, processID: int, result: str, percentComplete: int, priority: int, expirationEpoch: int, attemptNumber: int, maxAttempts: int, checkoutToken: str, tagString: str, tagNumber: int, creationDate: str, createdBy: int, lastModifiedDate: str, lastModifiedBy: int, **kwargs):
|
|
73
72
|
self.eventID = key
|
|
74
73
|
self.userID = userID
|
|
75
74
|
self.deviceID = deviceID
|
|
@@ -93,12 +92,14 @@ class Event:
|
|
|
93
92
|
self.createdBy = createdBy
|
|
94
93
|
self.lastModifiedDate = lastModifiedDate
|
|
95
94
|
self.lastModifiedBy = lastModifiedBy
|
|
95
|
+
# Optionally store any extra fields
|
|
96
|
+
self.extra_fields = kwargs
|
|
96
97
|
|
|
97
98
|
|
|
98
99
|
class EventWithNames(Event):
|
|
99
100
|
|
|
100
|
-
def __init__(self, key: int, userID: int, deviceID: int, agentTypeID: int, agentID: int, eventTypeID: int, serverEvent: int, eventStatus: int, eventParameters: str, processID: int, result: str, percentComplete: int, priority: int, expirationEpoch: int, attemptNumber: int, maxAttempts: int, checkoutToken: str, tagString: str, tagNumber: int, creationDate: str, createdBy: int, lastModifiedDate: str, lastModifiedBy: int, deviceName: str, eventType: str, agentType: str, version: str, eventStatusName: str, eventStatusDescription: str, agentIndex: int):
|
|
101
|
-
super().__init__(key, userID, deviceID, agentTypeID, agentID, eventTypeID, serverEvent, eventStatus, eventParameters, processID, result, percentComplete, priority, expirationEpoch, attemptNumber, maxAttempts, checkoutToken, tagString, tagNumber, creationDate, createdBy, lastModifiedDate, lastModifiedBy)
|
|
101
|
+
def __init__(self, key: int, userID: int, deviceID: int, agentTypeID: int, agentID: int, eventTypeID: int, serverEvent: int, eventStatus: int, eventParameters: str, processID: int, result: str, percentComplete: int, priority: int, expirationEpoch: int, attemptNumber: int, maxAttempts: int, checkoutToken: str, tagString: str, tagNumber: int, creationDate: str, createdBy: int, lastModifiedDate: str, lastModifiedBy: int, deviceName: str, eventType: str, agentType: str, version: str, eventStatusName: str, eventStatusDescription: str, agentIndex: int, **kwargs):
|
|
102
|
+
super().__init__(key, userID, deviceID, agentTypeID, agentID, eventTypeID, serverEvent, eventStatus, eventParameters, processID, result, percentComplete, priority, expirationEpoch, attemptNumber, maxAttempts, checkoutToken, tagString, tagNumber, creationDate, createdBy, lastModifiedDate, lastModifiedBy, **kwargs)
|
|
102
103
|
self.deviceName = deviceName
|
|
103
104
|
self.eventType = eventType
|
|
104
105
|
self.agentType = agentType
|
|
@@ -108,6 +109,7 @@ class EventWithNames(Event):
|
|
|
108
109
|
self.agentIndex = agentIndex
|
|
109
110
|
|
|
110
111
|
|
|
112
|
+
# Deprecated
|
|
111
113
|
class RecordingParameters:
|
|
112
114
|
|
|
113
115
|
def __init__(self, height: int = 1920, width: int = 1080, fps: float = 30, bitrate: int = 5000000, vflip: int = 0, hflip: int = 0, encoding: str = '', segmentLengthSeconds: float = 0, audio: int = 0, rotationDegrees: int = 0, **kwargs):
|
|
@@ -124,9 +126,28 @@ class RecordingParameters:
|
|
|
124
126
|
# Store or ignore unknown fields
|
|
125
127
|
self.extra_fields = kwargs # Optionally, store unknown fields for debugging or logging
|
|
126
128
|
|
|
129
|
+
|
|
130
|
+
class RecordingArgs:
|
|
131
|
+
|
|
132
|
+
def __init__(self, height: int = 1920, width: int = 1080, fps: float = 30, bitrate: int = 5000000, vflip: int = 0, hflip: int = 0, encoding: str = '', segmentLengthSeconds: float = 0, audio: int = 0, rotationDegrees: int = 0, **kwargs):
|
|
133
|
+
self.height = height
|
|
134
|
+
self.width = width
|
|
135
|
+
self.fps = fps
|
|
136
|
+
self.bitrate = bitrate
|
|
137
|
+
self.vflip = vflip
|
|
138
|
+
self.hflip = hflip
|
|
139
|
+
self.encoding = encoding
|
|
140
|
+
self.segmentLengthSeconds = segmentLengthSeconds
|
|
141
|
+
self.audio = audio
|
|
142
|
+
self.rotationDegrees = rotationDegrees
|
|
143
|
+
# Store or ignore unknown fields
|
|
144
|
+
self.extra_fields = kwargs # Optionally, store unknown fields for debugging or logging
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
# Deprecated
|
|
127
148
|
class RTMPParameters:
|
|
128
149
|
|
|
129
|
-
def __init__(self, height: int = 1920, width: int = 1080, fps: float = 30, bitrate: int = 5000000, server: str = '', port: int = 0, streamName: str = '', streamKey: str = '', hflip: int = 0, vflip: int = 0):
|
|
150
|
+
def __init__(self, height: int = 1920, width: int = 1080, fps: float = 30, bitrate: int = 5000000, server: str = '', port: int = 0, streamName: str = '', streamKey: str = '', hflip: int = 0, vflip: int = 0, **kwargs):
|
|
130
151
|
self.height = height
|
|
131
152
|
self.width = width
|
|
132
153
|
self.fps = fps
|
|
@@ -137,11 +158,30 @@ class RTMPParameters:
|
|
|
137
158
|
self.stream_key = streamKey
|
|
138
159
|
self.hflip = hflip
|
|
139
160
|
self.vflip = vflip
|
|
161
|
+
# Optionally store any extra fields
|
|
162
|
+
self.extra_fields = kwargs
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
class RTMPArgs:
|
|
166
|
+
|
|
167
|
+
def __init__(self, height: int = 1920, width: int = 1080, fps: float = 30, bitrate: int = 5000000, server: str = '', port: int = 0, streamName: str = '', streamKey: str = '', hflip: int = 0, vflip: int = 0, **kwargs):
|
|
168
|
+
self.height = height
|
|
169
|
+
self.width = width
|
|
170
|
+
self.fps = fps
|
|
171
|
+
self.bitrate = bitrate
|
|
172
|
+
self.server = server
|
|
173
|
+
self.port = port
|
|
174
|
+
self.stream_name = streamName
|
|
175
|
+
self.stream_key = streamKey
|
|
176
|
+
self.hflip = hflip
|
|
177
|
+
self.vflip = vflip
|
|
178
|
+
# Optionally store any extra fields
|
|
179
|
+
self.extra_fields = kwargs
|
|
140
180
|
|
|
141
181
|
|
|
142
182
|
class File:
|
|
143
183
|
|
|
144
|
-
def __init__(self, key: int = 0, userID: int = 0, deviceID: int = 0, filename: str = '', fileGUID: str = '', sHA256Hash: str = '', fileLocation: str = '', fileExpiration: str = '', fileSize: int = '', fileInS3: bool = False, creationDate: str = '', createdBy: int = '', lastModifiedDate: str = '', lastModifiedBy: int = 0):
|
|
184
|
+
def __init__(self, key: int = 0, userID: int = 0, deviceID: int = 0, filename: str = '', fileGUID: str = '', sHA256Hash: str = '', fileLocation: str = '', fileExpiration: str = '', fileSize: int = '', fileInS3: bool = False, creationDate: str = '', createdBy: int = '', lastModifiedDate: str = '', lastModifiedBy: int = 0, **kwargs):
|
|
145
185
|
self.key = key
|
|
146
186
|
self.userID = userID
|
|
147
187
|
self.deviceID = deviceID
|
|
@@ -156,11 +196,13 @@ class File:
|
|
|
156
196
|
self.createdBy = createdBy
|
|
157
197
|
self.lastModifiedDate = lastModifiedDate
|
|
158
198
|
self.lastModifiedBy = lastModifiedBy
|
|
199
|
+
# Optionally store any extra fields
|
|
200
|
+
self.extra_fields = kwargs
|
|
159
201
|
|
|
160
202
|
|
|
161
203
|
class VideoClip:
|
|
162
204
|
|
|
163
|
-
def __init__(self, key: int = 0, userID: int = 0, deviceID: int = 0, fileID: int = 0, tsFileID: int = 0, videoClipTypeID: int = 1, videoClipStatus: int = 0, videoClipParameters: str = '', localFilePath: str = '', height: int = 0, width: int = 0, fileSize: int = 0, framesPerSecond: float = 0, bitrate: int = 0, audioStatus: int = 0, startTime: int = 0, startTimeMs: int = 0, endTime: int = 0, endTimeMs: int = 0, clipLengthInSeconds: float = 0, tagListID: int = 0, creationDate: str = '', createdBy: int = 0, lastModifiedDate: int = '', lastModifiedBy: int = 0):
|
|
205
|
+
def __init__(self, key: int = 0, userID: int = 0, deviceID: int = 0, fileID: int = 0, tsFileID: int = 0, videoClipTypeID: int = 1, videoClipStatus: int = 0, videoClipParameters: str = '', localFilePath: str = '', height: int = 0, width: int = 0, fileSize: int = 0, framesPerSecond: float = 0, bitrate: int = 0, audioStatus: int = 0, startTime: int = 0, startTimeMs: int = 0, endTime: int = 0, endTimeMs: int = 0, clipLengthInSeconds: float = 0, tagListID: int = 0, creationDate: str = '', createdBy: int = 0, lastModifiedDate: int = '', lastModifiedBy: int = 0, **kwargs):
|
|
164
206
|
self.videoClipID = key
|
|
165
207
|
self.userID = userID
|
|
166
208
|
self.deviceID = deviceID
|
|
@@ -186,22 +228,40 @@ class VideoClip:
|
|
|
186
228
|
self.createdBy = createdBy
|
|
187
229
|
self.lastModifiedDate = lastModifiedDate
|
|
188
230
|
self.lastModifiedBy = lastModifiedBy
|
|
231
|
+
# Optionally store any extra fields
|
|
232
|
+
self.extra_fields = kwargs
|
|
189
233
|
|
|
190
234
|
|
|
235
|
+
# Deprecated
|
|
191
236
|
class TranscodingParameters:
|
|
192
237
|
|
|
193
|
-
def __init__(self, fileID: int, source: str, sourceFile: str, targetFile: str, fps: float, codec: str):
|
|
238
|
+
def __init__(self, fileID: int, source: str, sourceFile: str, targetFile: str, fps: float, codec: str, **kwargs):
|
|
239
|
+
self.fileID = fileID
|
|
240
|
+
self.source = source
|
|
241
|
+
self.sourceFile = sourceFile
|
|
242
|
+
self.targetFile = targetFile
|
|
243
|
+
self.fps = fps
|
|
244
|
+
self.codec = codec
|
|
245
|
+
# Optionally store any extra fields
|
|
246
|
+
self.extra_fields = kwargs
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class TranscodingArgs:
|
|
250
|
+
|
|
251
|
+
def __init__(self, fileID: int, source: str, sourceFile: str, targetFile: str, fps: float, codec: str, **kwargs):
|
|
194
252
|
self.fileID = fileID
|
|
195
253
|
self.source = source
|
|
196
254
|
self.sourceFile = sourceFile
|
|
197
255
|
self.targetFile = targetFile
|
|
198
256
|
self.fps = fps
|
|
199
257
|
self.codec = codec
|
|
258
|
+
# Optionally store any extra fields
|
|
259
|
+
self.extra_fields = kwargs
|
|
200
260
|
|
|
201
261
|
|
|
202
262
|
class TransferArgs:
|
|
203
263
|
|
|
204
|
-
def __init__(self, fileID: int, videoClipID: int, localFilePath: str, remoteFilename: str, remoteFolderPath: str, url: str, action: str, attemptNumber: int, maxAttempts: int, firstAttemptStartTime: int, maxTimeToTryInSeconds: int):
|
|
264
|
+
def __init__(self, fileID: int, videoClipID: int, localFilePath: str, remoteFilename: str, remoteFolderPath: str, url: str, action: str, attemptNumber: int, maxAttempts: int, firstAttemptStartTime: int, maxTimeToTryInSeconds: int, **kwargs):
|
|
205
265
|
self.fileID = fileID
|
|
206
266
|
self.videoClipID = videoClipID
|
|
207
267
|
self.localFilePath = localFilePath
|
|
@@ -213,11 +273,13 @@ class TransferArgs:
|
|
|
213
273
|
self.maxAttempts = maxAttempts
|
|
214
274
|
self.firstAttemptStartTime = firstAttemptStartTime,
|
|
215
275
|
self.maxTimeToTryInSeconds = maxTimeToTryInSeconds
|
|
276
|
+
# Optionally store any extra fields
|
|
277
|
+
self.extra_fields = kwargs
|
|
216
278
|
|
|
217
279
|
|
|
218
280
|
class ConcatenateClipsArgs:
|
|
219
281
|
|
|
220
|
-
def __init__(self, deviceID: int, deviceName: str, startEpoch: int, endEpoch: int, uploadURL: str, postbackURL: str, videoClips: list[VideoClip]):
|
|
282
|
+
def __init__(self, deviceID: int, deviceName: str, startEpoch: int, endEpoch: int, uploadURL: str, postbackURL: str, videoClips: list[VideoClip], **kwargs):
|
|
221
283
|
self.deviceID = deviceID
|
|
222
284
|
self.deviceName = deviceName
|
|
223
285
|
self.startEpoch = startEpoch
|
|
@@ -225,6 +287,8 @@ class ConcatenateClipsArgs:
|
|
|
225
287
|
self.uploadURL = uploadURL
|
|
226
288
|
self.postbackURL = postbackURL
|
|
227
289
|
self.videoClips = videoClips
|
|
290
|
+
# Optionally store any extra fields
|
|
291
|
+
self.extra_fields = kwargs
|
|
228
292
|
|
|
229
293
|
|
|
230
294
|
class ConferenceArgs:
|
|
@@ -244,41 +308,38 @@ class ConferenceArgs:
|
|
|
244
308
|
# Store or ignore unknown fields
|
|
245
309
|
self.extra_fields = kwargs # Optionally, store unknown fields for debugging or logging
|
|
246
310
|
|
|
311
|
+
|
|
247
312
|
class EpochRange:
|
|
248
313
|
|
|
249
|
-
def __init__(self, startEpoch: int, endEpoch: int):
|
|
314
|
+
def __init__(self, startEpoch: int, endEpoch: int, **kwargs):
|
|
250
315
|
self.startEpoch = startEpoch
|
|
251
316
|
self.endEpoch = endEpoch
|
|
317
|
+
# Optionally store any extra fields
|
|
318
|
+
self.extra_fields = kwargs
|
|
252
319
|
|
|
253
320
|
|
|
254
321
|
class WifiConnection:
|
|
255
322
|
|
|
256
|
-
def __init__(self, ssid: str = '', connectionName: str = '', password: str = '', priority: int = 0):
|
|
323
|
+
def __init__(self, ssid: str = '', connectionName: str = '', password: str = '', priority: int = 0, **kwargs):
|
|
257
324
|
self.ssid = ssid
|
|
258
325
|
self.password = password
|
|
259
326
|
self.priority = priority
|
|
260
327
|
self.connection_name = connectionName
|
|
328
|
+
# Optionally store any extra fields
|
|
329
|
+
self.extra_fields = kwargs
|
|
261
330
|
|
|
262
331
|
class NameValuePair:
|
|
263
332
|
|
|
264
|
-
def __init__(self, name: str, value: str):
|
|
333
|
+
def __init__(self, name: str, value: str, **kwargs):
|
|
265
334
|
self.name = name
|
|
266
335
|
self.value = value
|
|
336
|
+
# Optionally store any extra fields
|
|
337
|
+
self.extra_fields = kwargs
|
|
267
338
|
|
|
268
339
|
|
|
269
340
|
class EventDetails:
|
|
270
|
-
|
|
271
|
-
eventStatus: int
|
|
272
|
-
eventParameters: str
|
|
273
|
-
result: str
|
|
274
|
-
percentComplete: float
|
|
275
|
-
priority: int
|
|
276
|
-
attemptNumber: int
|
|
277
|
-
maxAttempts: int
|
|
278
|
-
tagString: str
|
|
279
|
-
tagNumber: int
|
|
280
|
-
|
|
281
|
-
def __init__(self, eventID: int = None, eventStatus: int = None, eventParameters: str = None, result: str = None, percentComplete: float = None, priority: int = None, attemptNumber: int = None, maxAttempts: int = None, tagString: str = None, tagNumber: int = None):
|
|
341
|
+
|
|
342
|
+
def __init__(self, eventID: int = None, eventStatus: int = None, eventParameters: str = None, result: str = None, percentComplete: float = None, priority: int = None, attemptNumber: int = None, maxAttempts: int = None, tagString: str = None, tagNumber: int = None, **kwargs):
|
|
282
343
|
self.eventID = eventID
|
|
283
344
|
self.eventStatus = eventStatus
|
|
284
345
|
self.eventParameters = eventParameters
|
|
@@ -289,18 +350,22 @@ class EventDetails:
|
|
|
289
350
|
self.maxAttempts = maxAttempts
|
|
290
351
|
self.tagString = tagString
|
|
291
352
|
self.tagNumber = tagNumber
|
|
353
|
+
# Optionally store any extra fields
|
|
354
|
+
self.extra_fields = kwargs
|
|
292
355
|
|
|
293
356
|
|
|
294
357
|
class StandardResult:
|
|
295
358
|
|
|
296
|
-
def __init__(self, code: str, description: str):
|
|
359
|
+
def __init__(self, code: str, description: str, **kwargs):
|
|
297
360
|
self.code = code
|
|
298
361
|
self.description = description
|
|
362
|
+
# Optionally store any extra fields
|
|
363
|
+
self.extra_fields = kwargs
|
|
299
364
|
|
|
300
365
|
|
|
301
366
|
class DeviceObject:
|
|
302
367
|
|
|
303
|
-
def __init__(self, key: int = 0, deviceTypeID: int = 0, userID: int = 0, deviceName: str = '', serialNumber: str = '', deviceDescription: str = '', recentOutput: str = '', cameraStatus: str = '', lastIPAddress: str = '', tunnelIPAddress: str = '', lastHeardFromDate: datetime = datetime.now(), softwareDate: datetime = datetime.now(), location: str = '', setupStatus: int = 0, autoSendFiles: int = 0, runStartupEvent: int = 0, deviceReadyEventPresetID: int = 0, standaloneEventPresetID: int = 0, logHealth: int = 0, audioChannelName: str = '', volume: int = 0, commentListID = 0, isArchived: bool = False, gUID: str = '', creationDate: datetime = datetime.now(), createdBy: int = 0, lastModifiedDate: datetime = datetime.now(), lastModifiedBy: int = 0):
|
|
368
|
+
def __init__(self, key: int = 0, deviceTypeID: int = 0, userID: int = 0, deviceName: str = '', serialNumber: str = '', deviceDescription: str = '', recentOutput: str = '', cameraStatus: str = '', lastIPAddress: str = '', tunnelIPAddress: str = '', lastHeardFromDate: datetime = datetime.now(), softwareDate: datetime = datetime.now(), location: str = '', setupStatus: int = 0, autoSendFiles: int = 0, runStartupEvent: int = 0, deviceReadyEventPresetID: int = 0, standaloneEventPresetID: int = 0, logHealth: int = 0, audioChannelName: str = '', volume: int = 0, commentListID = 0, isArchived: bool = False, gUID: str = '', creationDate: datetime = datetime.now(), createdBy: int = 0, lastModifiedDate: datetime = datetime.now(), lastModifiedBy: int = 0, **kwargs):
|
|
304
369
|
self.key = key
|
|
305
370
|
self.deviceTypeID = deviceTypeID
|
|
306
371
|
self.userID = userID
|
|
@@ -329,11 +394,13 @@ class DeviceObject:
|
|
|
329
394
|
self.createdBy = createdBy
|
|
330
395
|
self.lastModifiedDate = lastModifiedDate
|
|
331
396
|
self.lastModifiedBy = lastModifiedBy
|
|
397
|
+
# Optionally store any extra fields
|
|
398
|
+
self.extra_fields = kwargs
|
|
332
399
|
|
|
333
400
|
|
|
334
401
|
class VideoClip:
|
|
335
402
|
|
|
336
|
-
def __init__(self, key: int = 0, userID: int = 0, deviceID: int = 0, fileID: int = 0, tSFileID: int = 0, videoClipStatus: int = 0, videoClipTypeID: int = 0, videoClipParameters: str = '', localFilePath: str = '', height: int = 0, width: int = 0, filesize: int = 0, framesPerSecond: float = 0, bitrate: int = 0, audioStatus: int = 0, startTime: int = 0, startTimeMs: int = 0, endTime: int = 0, endTimeMs: int = 0, clipLengthInSeconds: float = 0, tagListID: int = 0, creationDate: str = '', createdBy: int = 0, lastModifiedDate: int = '', lastModifiedBy: int = 0):
|
|
403
|
+
def __init__(self, key: int = 0, userID: int = 0, deviceID: int = 0, fileID: int = 0, tSFileID: int = 0, videoClipStatus: int = 0, videoClipTypeID: int = 0, videoClipParameters: str = '', localFilePath: str = '', height: int = 0, width: int = 0, filesize: int = 0, framesPerSecond: float = 0, bitrate: int = 0, audioStatus: int = 0, startTime: int = 0, startTimeMs: int = 0, endTime: int = 0, endTimeMs: int = 0, clipLengthInSeconds: float = 0, tagListID: int = 0, creationDate: str = '', createdBy: int = 0, lastModifiedDate: int = '', lastModifiedBy: int = 0, **kwargs):
|
|
337
404
|
self.videoClipID = key
|
|
338
405
|
self.userID = userID
|
|
339
406
|
self.deviceID = deviceID
|
|
@@ -359,11 +426,13 @@ class VideoClip:
|
|
|
359
426
|
self.createdBy = createdBy
|
|
360
427
|
self.lastModifiedDate = lastModifiedDate
|
|
361
428
|
self.lastModifiedBy = lastModifiedBy
|
|
429
|
+
# Optionally store any extra fields
|
|
430
|
+
self.extra_fields = kwargs
|
|
362
431
|
|
|
363
432
|
|
|
364
433
|
class CreateVideoClip:
|
|
365
434
|
|
|
366
|
-
def __init__(self, deviceID: int = 0, deviceName: str = '', localFilePath: str = '', height: int = 0, width: int = 0, framesPerSecond: float = 0.0, startTime: int = 0, startTimeMs: int = 0, clipLengthInSeconds: float = 0.0, videoClipStatus: int = 0, videoClipTypeID: int = 0, videoClipParameters: str = ''):
|
|
435
|
+
def __init__(self, deviceID: int = 0, deviceName: str = '', localFilePath: str = '', height: int = 0, width: int = 0, framesPerSecond: float = 0.0, startTime: int = 0, startTimeMs: int = 0, clipLengthInSeconds: float = 0.0, videoClipStatus: int = 0, videoClipTypeID: int = 0, videoClipParameters: str = '', **kwargs):
|
|
367
436
|
self.deviceID = deviceID
|
|
368
437
|
self.deviceName = deviceName
|
|
369
438
|
self.localFilePath = localFilePath
|
|
@@ -376,4 +445,6 @@ class CreateVideoClip:
|
|
|
376
445
|
self.videoClipStatus = videoClipStatus
|
|
377
446
|
self.videoClipTypeID = videoClipTypeID
|
|
378
447
|
self.videoClipParameters = videoClipParameters
|
|
448
|
+
# Optionally store any extra fields
|
|
449
|
+
self.extra_fields = kwargs
|
|
379
450
|
|
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/CommonFunctions/CommonFunctions.py
RENAMED
|
File without changes
|
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/CommonFunctions/Wifi/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/EventPreset/EventPreset.py
RENAMED
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/EventPreset/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/LogMessage/LogMessage.py
RENAMED
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/LogMessage/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/VideoClip/VideoClip.py
RENAMED
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.4}/actionstreamer/WebService/VideoClip/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|