zou 0.20.31__py3-none-any.whl → 0.20.32__py3-none-any.whl

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.
zou/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.20.31"
1
+ __version__ = "0.20.32"
zou/event_stream.py CHANGED
@@ -25,10 +25,13 @@ socketio.init_app(app, message_queue=redis_url, async_mode="gevent")
25
25
 
26
26
  def _get_empty_room(current_frame=0):
27
27
  return {
28
+ "user_id": None,
28
29
  "people": [],
29
30
  "is_playing": False,
31
+ "current_entity_id": None,
30
32
  "current_entity_index": None,
31
33
  "current_preview_file_id": None,
34
+ "current_preview_file_index": None,
32
35
  "current_frame": current_frame,
33
36
  "is_repeating": None,
34
37
  "is_laser_mode": None,
@@ -61,14 +64,16 @@ def _leave_room(room_id, user_id):
61
64
 
62
65
 
63
66
  def _update_room_playing_status(data, room):
67
+ room["user_id"] = data.get("user_id", False)
64
68
  room["is_playing"] = data.get("is_playing", False)
65
69
  room["is_repeating"] = data.get("is_repeating", False)
66
70
  room["is_laser_mode"] = data.get("is_laser_mode", False)
67
- room["current_entity_index"] = data["current_entity_index"]
71
+ room["current_entity_id"] = data.get("current_entity_id", None)
72
+ room["current_entity_index"] = data.get("current_entity_index", None)
73
+ room["current_preview_file_id"] = data.get("current_preview_file_id", None)
74
+ room["current_preview_file_index"] = data.get("current_preview_file_index", None)
68
75
  room["handle_in"] = data.get("handle_in", None)
69
76
  room["handle_out"] = data.get("handle_out", None)
70
- if "current_preview_file_id" in data:
71
- room["current_preview_file_id"] = data["current_preview_file_id"]
72
77
  if "current_frame" in data:
73
78
  room["current_frame"] = data["current_frame"]
74
79
  if "comparing" in data:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zou
3
- Version: 0.20.31
3
+ Version: 0.20.32
4
4
  Summary: API to store and manage the data of your animation production
5
5
  Home-page: https://zou.cg-wire.com
6
6
  Author: CG Wire
@@ -1,7 +1,7 @@
1
- zou/__init__.py,sha256=w5DujnoHTe9nIoIkgsN3yCw3Ta6IPpx5L5PPROLpxzM,24
1
+ zou/__init__.py,sha256=29H6HXRd4HMdRxzZF3mxMVbIeJ7zyDIB9-PW5VElaLc,24
2
2
  zou/cli.py,sha256=HuYi2Ma7SP2SD7C9d9dwpZ49BHpytKIoyJP_su9JwZY,18755
3
3
  zou/debug.py,sha256=1fawPbkD4wn0Y9Gk0BiBFSa-CQe5agFi8R9uJYl2Uyk,520
4
- zou/event_stream.py,sha256=EpohqFJwWL0zs-Ic_W5dX5_XSDeCrqHQPL5Re39OnQ0,6382
4
+ zou/event_stream.py,sha256=_BB_cwEpWOrHEhfxxgwzZgfAauekg0lrI5COume2XR8,6663
5
5
  zou/job_settings.py,sha256=_aqBhujt2Q8sXRWIbgbDf-LUdXRdBimdtTc-fZbiXoY,202
6
6
  zou/app/__init__.py,sha256=zGmaBGBHSS_Px34I3_WZmcse62G_AZJArjm4F6TwmRk,7100
7
7
  zou/app/api.py,sha256=JTB_IMVO8EOoyqx9KdRkiIix0chOLi0yGDY-verUJXA,5127
@@ -420,9 +420,9 @@ zou/remote/normalize_movie.py,sha256=zNfEY3N1UbAHZfddGONTg2Sff3ieLVWd4dfZa1dpnes
420
420
  zou/remote/playlist.py,sha256=AsDo0bgYhDcd6DfNRV6r6Jj3URWwavE2ZN3VkKRPbLU,3293
421
421
  zou/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
422
422
  zou/utils/movie.py,sha256=d67fIL9dVBKt-E_qCGXRbNNdbJaJR5sHvZeX3hf8ldE,16559
423
- zou-0.20.31.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
424
- zou-0.20.31.dist-info/METADATA,sha256=5hDYJ09WG5lB7gaFcXJQyjvjA7vipqKN-PNH8yzMLSY,6695
425
- zou-0.20.31.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
426
- zou-0.20.31.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
427
- zou-0.20.31.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
428
- zou-0.20.31.dist-info/RECORD,,
423
+ zou-0.20.32.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
424
+ zou-0.20.32.dist-info/METADATA,sha256=UA7upJlfJloy8dTQ2K76uT6593K2ewTjJ9J1Vor3d6Y,6695
425
+ zou-0.20.32.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
426
+ zou-0.20.32.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
427
+ zou-0.20.32.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
428
+ zou-0.20.32.dist-info/RECORD,,
File without changes