ryry-cli 2.11__tar.gz → 2.13__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.
Files changed (28) hide show
  1. {ryry_cli-2.11/ryry_cli.egg-info → ryry_cli-2.13}/PKG-INFO +1 -1
  2. ryry_cli-2.13/ryry/constant.py +5 -0
  3. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/main.py +3 -3
  4. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/ryry_server_socket.py +0 -1
  5. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/upload.py +6 -2
  6. {ryry_cli-2.11 → ryry_cli-2.13/ryry_cli.egg-info}/PKG-INFO +1 -1
  7. {ryry_cli-2.11 → ryry_cli-2.13}/setup.py +1 -1
  8. ryry_cli-2.11/ryry/constant.py +0 -5
  9. {ryry_cli-2.11 → ryry_cli-2.13}/LICENSE +0 -0
  10. {ryry_cli-2.11 → ryry_cli-2.13}/README.md +0 -0
  11. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/__init__.py +0 -0
  12. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/ryry_service.py +0 -0
  13. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/ryry_webapi.py +0 -0
  14. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/ryry_widget.py +0 -0
  15. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/script_template/__init__.py +0 -0
  16. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/script_template/main.py +0 -0
  17. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/script_template/run.py +0 -0
  18. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/server_func.py +0 -0
  19. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/store.py +0 -0
  20. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/task.py +0 -0
  21. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/taskUtils.py +0 -0
  22. {ryry_cli-2.11 → ryry_cli-2.13}/ryry/utils.py +0 -0
  23. {ryry_cli-2.11 → ryry_cli-2.13}/ryry_cli.egg-info/SOURCES.txt +0 -0
  24. {ryry_cli-2.11 → ryry_cli-2.13}/ryry_cli.egg-info/dependency_links.txt +0 -0
  25. {ryry_cli-2.11 → ryry_cli-2.13}/ryry_cli.egg-info/entry_points.txt +0 -0
  26. {ryry_cli-2.11 → ryry_cli-2.13}/ryry_cli.egg-info/requires.txt +0 -0
  27. {ryry_cli-2.11 → ryry_cli-2.13}/ryry_cli.egg-info/top_level.txt +0 -0
  28. {ryry_cli-2.11 → ryry_cli-2.13}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.11
3
+ Version: 2.13
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -0,0 +1,5 @@
1
+ #!!!!! do not change this file !!!!!
2
+ app_version="2.13"
3
+ app_bulld_number=213
4
+ app_bulld_anchor="Noh_2024-06-14 14:07:27.352744"
5
+ app_name="ryry-cli"
@@ -22,7 +22,7 @@ def service_status(stdscr, idx):
22
22
  else:
23
23
  stdscr.addstr(*args)
24
24
  if platform.system() != 'Windows':
25
- real_stdsrc(idx, 0, scr_str("Processing".ljust(ll)))
25
+ real_stdsrc(idx, 0, scr_str("Processing".ljust(ll*3-2)))
26
26
  idx+=1
27
27
  def running_task_uuids():
28
28
  lst = []
@@ -41,9 +41,9 @@ def service_status(stdscr, idx):
41
41
  real_s = this_lst[this_d]
42
42
  if len(append_str) > 0:
43
43
  real_s += f" [{append_str}]"
44
- real_stdsrc(row_idx, col_idx, scr_str(" " + real_s.ljust(ll-1)))
44
+ real_stdsrc(row_idx, col_idx, scr_str(" " + real_s.ljust(ll*2-1)))
45
45
  else:
46
- real_stdsrc(row_idx, col_idx, scr_str(" " + " ".ljust(ll-1)))
46
+ real_stdsrc(row_idx, col_idx, scr_str(" " + " ".ljust(ll*2-1)))
47
47
  widget_stdscr(d, lst, idx, 0, "task" if platform.system() == 'Windows' else "")
48
48
  idx+=1
49
49
  return idx
@@ -4,7 +4,6 @@ import threading
4
4
  from datetime import datetime, timedelta
5
5
  import calendar
6
6
  from threading import Thread, current_thread, Lock
7
- import websocket
8
7
  import uuid
9
8
  import queue
10
9
  import subprocess, platform
@@ -80,7 +80,7 @@ def additionalUrl(srcFile, ossUrl):
80
80
  except:
81
81
  return ossUrl
82
82
 
83
- def upload(src, taskUUID, timeout=300):
83
+ def upload(src, taskUUID, timeout=300, needTranscode=True):
84
84
  import os
85
85
  from ryry import store
86
86
  from pathlib import Path
@@ -92,7 +92,11 @@ def upload(src, taskUUID, timeout=300):
92
92
  if taskUUID==None or len(taskUUID) <= 0:
93
93
  taskUUID = taskUtils.taskInfoWithFirstTask()
94
94
 
95
- needDeleteSrc, newSrc = transcode(src)
95
+ if needTranscode:
96
+ needDeleteSrc, newSrc = transcode(src)
97
+ else:
98
+ needDeleteSrc = False
99
+ newSrc = src
96
100
  addtionExif(newSrc, taskUUID)
97
101
  file_name = Path(newSrc).name
98
102
  ossurl = ryry_webapi.upload(newSrc, os.path.splitext(file_name)[-1][1:])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.11
3
+ Version: 2.13
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -3,7 +3,7 @@ import os
3
3
  import subprocess
4
4
  import datetime
5
5
 
6
- ryry_version = "2.11"
6
+ ryry_version = "2.13"
7
7
  ryry_build_number = int(ryry_version.replace(".",""))
8
8
  cur_dir = os.path.dirname(os.path.abspath(__file__))
9
9
  constanspy = os.path.join(cur_dir, "ryry", "constant.py")
@@ -1,5 +0,0 @@
1
- #!!!!! do not change this file !!!!!
2
- app_version="2.11"
3
- app_bulld_number=211
4
- app_bulld_anchor="Noh_2024-06-12 18:33:13.934842"
5
- app_name="ryry-cli"
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
File without changes