ActionStreamer 1.2.3__tar.gz → 1.2.5__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.5}/PKG-INFO +1 -1
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/Model/Model.py +180 -29
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/pyproject.toml +1 -1
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/README.md +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/CommonFunctions/CommonFunctions.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/CommonFunctions/Wifi/Wifi.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/CommonFunctions/Wifi/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/CommonFunctions/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/Config/Config.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/Config/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/Device/Device.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/Device/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/Model/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/API/API.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/API/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/Event/Event.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/Event/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/EventPreset/EventPreset.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/EventPreset/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/File/File.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/File/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/Health/Health.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/Health/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/LogMessage/LogMessage.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/LogMessage/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/Patch/Patch.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/Patch/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/Tag/Tag.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/Tag/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/VideoClip/VideoClip.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/VideoClip/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/__init__.py +0 -0
- {actionstreamer-1.2.3 → actionstreamer-1.2.5}/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,18 @@ 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
|
|
97
|
+
|
|
98
|
+
# Warn or log if there are unexpected keyword arguments
|
|
99
|
+
if kwargs:
|
|
100
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
96
101
|
|
|
97
102
|
|
|
98
103
|
class EventWithNames(Event):
|
|
99
104
|
|
|
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)
|
|
105
|
+
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):
|
|
106
|
+
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
107
|
self.deviceName = deviceName
|
|
103
108
|
self.eventType = eventType
|
|
104
109
|
self.agentType = agentType
|
|
@@ -108,6 +113,7 @@ class EventWithNames(Event):
|
|
|
108
113
|
self.agentIndex = agentIndex
|
|
109
114
|
|
|
110
115
|
|
|
116
|
+
# Deprecated
|
|
111
117
|
class RecordingParameters:
|
|
112
118
|
|
|
113
119
|
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 +130,36 @@ class RecordingParameters:
|
|
|
124
130
|
# Store or ignore unknown fields
|
|
125
131
|
self.extra_fields = kwargs # Optionally, store unknown fields for debugging or logging
|
|
126
132
|
|
|
133
|
+
# Warn or log if there are unexpected keyword arguments
|
|
134
|
+
if kwargs:
|
|
135
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class RecordingArgs:
|
|
139
|
+
|
|
140
|
+
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):
|
|
141
|
+
self.height = height
|
|
142
|
+
self.width = width
|
|
143
|
+
self.fps = fps
|
|
144
|
+
self.bitrate = bitrate
|
|
145
|
+
self.vflip = vflip
|
|
146
|
+
self.hflip = hflip
|
|
147
|
+
self.encoding = encoding
|
|
148
|
+
self.segmentLengthSeconds = segmentLengthSeconds
|
|
149
|
+
self.audio = audio
|
|
150
|
+
self.rotationDegrees = rotationDegrees
|
|
151
|
+
# Store or ignore unknown fields
|
|
152
|
+
self.extra_fields = kwargs # Optionally, store unknown fields for debugging or logging
|
|
153
|
+
|
|
154
|
+
# Warn or log if there are unexpected keyword arguments
|
|
155
|
+
if kwargs:
|
|
156
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
# Deprecated
|
|
127
160
|
class RTMPParameters:
|
|
128
161
|
|
|
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):
|
|
162
|
+
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
163
|
self.height = height
|
|
131
164
|
self.width = width
|
|
132
165
|
self.fps = fps
|
|
@@ -137,11 +170,38 @@ class RTMPParameters:
|
|
|
137
170
|
self.stream_key = streamKey
|
|
138
171
|
self.hflip = hflip
|
|
139
172
|
self.vflip = vflip
|
|
173
|
+
# Optionally store any extra fields
|
|
174
|
+
self.extra_fields = kwargs
|
|
175
|
+
|
|
176
|
+
# Warn or log if there are unexpected keyword arguments
|
|
177
|
+
if kwargs:
|
|
178
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
class RTMPArgs:
|
|
182
|
+
|
|
183
|
+
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):
|
|
184
|
+
self.height = height
|
|
185
|
+
self.width = width
|
|
186
|
+
self.fps = fps
|
|
187
|
+
self.bitrate = bitrate
|
|
188
|
+
self.server = server
|
|
189
|
+
self.port = port
|
|
190
|
+
self.stream_name = streamName
|
|
191
|
+
self.stream_key = streamKey
|
|
192
|
+
self.hflip = hflip
|
|
193
|
+
self.vflip = vflip
|
|
194
|
+
# Optionally store any extra fields
|
|
195
|
+
self.extra_fields = kwargs
|
|
196
|
+
|
|
197
|
+
# Warn or log if there are unexpected keyword arguments
|
|
198
|
+
if kwargs:
|
|
199
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
140
200
|
|
|
141
201
|
|
|
142
202
|
class File:
|
|
143
203
|
|
|
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):
|
|
204
|
+
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
205
|
self.key = key
|
|
146
206
|
self.userID = userID
|
|
147
207
|
self.deviceID = deviceID
|
|
@@ -156,11 +216,17 @@ class File:
|
|
|
156
216
|
self.createdBy = createdBy
|
|
157
217
|
self.lastModifiedDate = lastModifiedDate
|
|
158
218
|
self.lastModifiedBy = lastModifiedBy
|
|
219
|
+
# Optionally store any extra fields
|
|
220
|
+
self.extra_fields = kwargs
|
|
221
|
+
|
|
222
|
+
# Warn or log if there are unexpected keyword arguments
|
|
223
|
+
if kwargs:
|
|
224
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
159
225
|
|
|
160
226
|
|
|
161
227
|
class VideoClip:
|
|
162
228
|
|
|
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):
|
|
229
|
+
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
230
|
self.videoClipID = key
|
|
165
231
|
self.userID = userID
|
|
166
232
|
self.deviceID = deviceID
|
|
@@ -186,22 +252,52 @@ class VideoClip:
|
|
|
186
252
|
self.createdBy = createdBy
|
|
187
253
|
self.lastModifiedDate = lastModifiedDate
|
|
188
254
|
self.lastModifiedBy = lastModifiedBy
|
|
255
|
+
# Optionally store any extra fields
|
|
256
|
+
self.extra_fields = kwargs
|
|
257
|
+
|
|
258
|
+
# Warn or log if there are unexpected keyword arguments
|
|
259
|
+
if kwargs:
|
|
260
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
189
261
|
|
|
190
262
|
|
|
263
|
+
# Deprecated
|
|
191
264
|
class TranscodingParameters:
|
|
192
265
|
|
|
193
|
-
def __init__(self, fileID: int, source: str, sourceFile: str, targetFile: str, fps: float, codec: str):
|
|
266
|
+
def __init__(self, fileID: int, source: str, sourceFile: str, targetFile: str, fps: float, codec: str, **kwargs):
|
|
267
|
+
self.fileID = fileID
|
|
268
|
+
self.source = source
|
|
269
|
+
self.sourceFile = sourceFile
|
|
270
|
+
self.targetFile = targetFile
|
|
271
|
+
self.fps = fps
|
|
272
|
+
self.codec = codec
|
|
273
|
+
# Optionally store any extra fields
|
|
274
|
+
self.extra_fields = kwargs
|
|
275
|
+
|
|
276
|
+
# Warn or log if there are unexpected keyword arguments
|
|
277
|
+
if kwargs:
|
|
278
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
class TranscodingArgs:
|
|
282
|
+
|
|
283
|
+
def __init__(self, fileID: int, source: str, sourceFile: str, targetFile: str, fps: float, codec: str, **kwargs):
|
|
194
284
|
self.fileID = fileID
|
|
195
285
|
self.source = source
|
|
196
286
|
self.sourceFile = sourceFile
|
|
197
287
|
self.targetFile = targetFile
|
|
198
288
|
self.fps = fps
|
|
199
289
|
self.codec = codec
|
|
290
|
+
# Optionally store any extra fields
|
|
291
|
+
self.extra_fields = kwargs
|
|
292
|
+
|
|
293
|
+
# Warn or log if there are unexpected keyword arguments
|
|
294
|
+
if kwargs:
|
|
295
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
200
296
|
|
|
201
297
|
|
|
202
298
|
class TransferArgs:
|
|
203
299
|
|
|
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):
|
|
300
|
+
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
301
|
self.fileID = fileID
|
|
206
302
|
self.videoClipID = videoClipID
|
|
207
303
|
self.localFilePath = localFilePath
|
|
@@ -213,11 +309,17 @@ class TransferArgs:
|
|
|
213
309
|
self.maxAttempts = maxAttempts
|
|
214
310
|
self.firstAttemptStartTime = firstAttemptStartTime,
|
|
215
311
|
self.maxTimeToTryInSeconds = maxTimeToTryInSeconds
|
|
312
|
+
# Optionally store any extra fields
|
|
313
|
+
self.extra_fields = kwargs
|
|
314
|
+
|
|
315
|
+
# Warn or log if there are unexpected keyword arguments
|
|
316
|
+
if kwargs:
|
|
317
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
216
318
|
|
|
217
319
|
|
|
218
320
|
class ConcatenateClipsArgs:
|
|
219
321
|
|
|
220
|
-
def __init__(self, deviceID: int, deviceName: str, startEpoch: int, endEpoch: int, uploadURL: str, postbackURL: str, videoClips: list[VideoClip]):
|
|
322
|
+
def __init__(self, deviceID: int, deviceName: str, startEpoch: int, endEpoch: int, uploadURL: str, postbackURL: str, videoClips: list[VideoClip], **kwargs):
|
|
221
323
|
self.deviceID = deviceID
|
|
222
324
|
self.deviceName = deviceName
|
|
223
325
|
self.startEpoch = startEpoch
|
|
@@ -225,6 +327,12 @@ class ConcatenateClipsArgs:
|
|
|
225
327
|
self.uploadURL = uploadURL
|
|
226
328
|
self.postbackURL = postbackURL
|
|
227
329
|
self.videoClips = videoClips
|
|
330
|
+
# Optionally store any extra fields
|
|
331
|
+
self.extra_fields = kwargs
|
|
332
|
+
|
|
333
|
+
# Warn or log if there are unexpected keyword arguments
|
|
334
|
+
if kwargs:
|
|
335
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
228
336
|
|
|
229
337
|
|
|
230
338
|
class ConferenceArgs:
|
|
@@ -244,41 +352,55 @@ class ConferenceArgs:
|
|
|
244
352
|
# Store or ignore unknown fields
|
|
245
353
|
self.extra_fields = kwargs # Optionally, store unknown fields for debugging or logging
|
|
246
354
|
|
|
355
|
+
# Warn or log if there are unexpected keyword arguments
|
|
356
|
+
if kwargs:
|
|
357
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
358
|
+
|
|
359
|
+
|
|
247
360
|
class EpochRange:
|
|
248
361
|
|
|
249
|
-
def __init__(self, startEpoch: int, endEpoch: int):
|
|
362
|
+
def __init__(self, startEpoch: int, endEpoch: int, **kwargs):
|
|
250
363
|
self.startEpoch = startEpoch
|
|
251
364
|
self.endEpoch = endEpoch
|
|
365
|
+
# Optionally store any extra fields
|
|
366
|
+
self.extra_fields = kwargs
|
|
367
|
+
|
|
368
|
+
# Warn or log if there are unexpected keyword arguments
|
|
369
|
+
if kwargs:
|
|
370
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
252
371
|
|
|
253
372
|
|
|
254
373
|
class WifiConnection:
|
|
255
374
|
|
|
256
|
-
def __init__(self, ssid: str = '', connectionName: str = '', password: str = '', priority: int = 0):
|
|
375
|
+
def __init__(self, ssid: str = '', connectionName: str = '', password: str = '', priority: int = 0, **kwargs):
|
|
257
376
|
self.ssid = ssid
|
|
258
377
|
self.password = password
|
|
259
378
|
self.priority = priority
|
|
260
379
|
self.connection_name = connectionName
|
|
380
|
+
# Optionally store any extra fields
|
|
381
|
+
self.extra_fields = kwargs
|
|
382
|
+
|
|
383
|
+
# Warn or log if there are unexpected keyword arguments
|
|
384
|
+
if kwargs:
|
|
385
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
386
|
+
|
|
261
387
|
|
|
262
388
|
class NameValuePair:
|
|
263
389
|
|
|
264
|
-
def __init__(self, name: str, value: str):
|
|
390
|
+
def __init__(self, name: str, value: str, **kwargs):
|
|
265
391
|
self.name = name
|
|
266
392
|
self.value = value
|
|
393
|
+
# Optionally store any extra fields
|
|
394
|
+
self.extra_fields = kwargs
|
|
395
|
+
|
|
396
|
+
# Warn or log if there are unexpected keyword arguments
|
|
397
|
+
if kwargs:
|
|
398
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
267
399
|
|
|
268
400
|
|
|
269
401
|
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):
|
|
402
|
+
|
|
403
|
+
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
404
|
self.eventID = eventID
|
|
283
405
|
self.eventStatus = eventStatus
|
|
284
406
|
self.eventParameters = eventParameters
|
|
@@ -289,18 +411,30 @@ class EventDetails:
|
|
|
289
411
|
self.maxAttempts = maxAttempts
|
|
290
412
|
self.tagString = tagString
|
|
291
413
|
self.tagNumber = tagNumber
|
|
414
|
+
# Optionally store any extra fields
|
|
415
|
+
self.extra_fields = kwargs
|
|
416
|
+
|
|
417
|
+
# Warn or log if there are unexpected keyword arguments
|
|
418
|
+
if kwargs:
|
|
419
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
292
420
|
|
|
293
421
|
|
|
294
422
|
class StandardResult:
|
|
295
423
|
|
|
296
|
-
def __init__(self, code: str, description: str):
|
|
424
|
+
def __init__(self, code: str, description: str, **kwargs):
|
|
297
425
|
self.code = code
|
|
298
426
|
self.description = description
|
|
427
|
+
# Optionally store any extra fields
|
|
428
|
+
self.extra_fields = kwargs
|
|
429
|
+
|
|
430
|
+
# Warn or log if there are unexpected keyword arguments
|
|
431
|
+
if kwargs:
|
|
432
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
299
433
|
|
|
300
434
|
|
|
301
435
|
class DeviceObject:
|
|
302
436
|
|
|
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):
|
|
437
|
+
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
438
|
self.key = key
|
|
305
439
|
self.deviceTypeID = deviceTypeID
|
|
306
440
|
self.userID = userID
|
|
@@ -329,11 +463,17 @@ class DeviceObject:
|
|
|
329
463
|
self.createdBy = createdBy
|
|
330
464
|
self.lastModifiedDate = lastModifiedDate
|
|
331
465
|
self.lastModifiedBy = lastModifiedBy
|
|
466
|
+
# Optionally store any extra fields
|
|
467
|
+
self.extra_fields = kwargs
|
|
468
|
+
|
|
469
|
+
# Warn or log if there are unexpected keyword arguments
|
|
470
|
+
if kwargs:
|
|
471
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
332
472
|
|
|
333
473
|
|
|
334
474
|
class VideoClip:
|
|
335
475
|
|
|
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):
|
|
476
|
+
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
477
|
self.videoClipID = key
|
|
338
478
|
self.userID = userID
|
|
339
479
|
self.deviceID = deviceID
|
|
@@ -359,11 +499,17 @@ class VideoClip:
|
|
|
359
499
|
self.createdBy = createdBy
|
|
360
500
|
self.lastModifiedDate = lastModifiedDate
|
|
361
501
|
self.lastModifiedBy = lastModifiedBy
|
|
502
|
+
# Optionally store any extra fields
|
|
503
|
+
self.extra_fields = kwargs
|
|
504
|
+
|
|
505
|
+
# Warn or log if there are unexpected keyword arguments
|
|
506
|
+
if kwargs:
|
|
507
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
362
508
|
|
|
363
509
|
|
|
364
510
|
class CreateVideoClip:
|
|
365
511
|
|
|
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 = ''):
|
|
512
|
+
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
513
|
self.deviceID = deviceID
|
|
368
514
|
self.deviceName = deviceName
|
|
369
515
|
self.localFilePath = localFilePath
|
|
@@ -376,4 +522,9 @@ class CreateVideoClip:
|
|
|
376
522
|
self.videoClipStatus = videoClipStatus
|
|
377
523
|
self.videoClipTypeID = videoClipTypeID
|
|
378
524
|
self.videoClipParameters = videoClipParameters
|
|
525
|
+
# Optionally store any extra fields
|
|
526
|
+
self.extra_fields = kwargs
|
|
379
527
|
|
|
528
|
+
# Warn or log if there are unexpected keyword arguments
|
|
529
|
+
if kwargs:
|
|
530
|
+
print(f"Warning: Ignoring unexpected arguments: {kwargs}")
|
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/CommonFunctions/CommonFunctions.py
RENAMED
|
File without changes
|
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.5}/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.5}/actionstreamer/WebService/EventPreset/EventPreset.py
RENAMED
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.5}/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.5}/actionstreamer/WebService/LogMessage/LogMessage.py
RENAMED
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.5}/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.5}/actionstreamer/WebService/VideoClip/VideoClip.py
RENAMED
|
File without changes
|
{actionstreamer-1.2.3 → actionstreamer-1.2.5}/actionstreamer/WebService/VideoClip/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|