ryry-cli 4.8__tar.gz → 4.10__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 (31) hide show
  1. {ryry_cli-4.8/ryry_cli.egg-info → ryry_cli-4.10}/PKG-INFO +1 -1
  2. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/constant.py +2 -2
  3. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/upload.py +4 -4
  4. {ryry_cli-4.8 → ryry_cli-4.10/ryry_cli.egg-info}/PKG-INFO +1 -1
  5. {ryry_cli-4.8 → ryry_cli-4.10}/setup.py +1 -1
  6. {ryry_cli-4.8 → ryry_cli-4.10}/LICENSE +0 -0
  7. {ryry_cli-4.8 → ryry_cli-4.10}/README.md +0 -0
  8. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/__init__.py +0 -0
  9. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/daemon_base.py +0 -0
  10. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/daemon_manager.py +0 -0
  11. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/main.py +0 -0
  12. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/ryry_server_socket.py +0 -0
  13. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/ryry_service.py +0 -0
  14. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/ryry_webapi.py +0 -0
  15. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/ryry_widget.py +0 -0
  16. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/script_template/__init__.py +0 -0
  17. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/script_template/daemon.py +0 -0
  18. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/script_template/main.py +0 -0
  19. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/script_template/run.py +0 -0
  20. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/server_func.py +0 -0
  21. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/shared_memory.py +0 -0
  22. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/store.py +0 -0
  23. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/task.py +0 -0
  24. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/taskUtils.py +0 -0
  25. {ryry_cli-4.8 → ryry_cli-4.10}/ryry/utils.py +0 -0
  26. {ryry_cli-4.8 → ryry_cli-4.10}/ryry_cli.egg-info/SOURCES.txt +0 -0
  27. {ryry_cli-4.8 → ryry_cli-4.10}/ryry_cli.egg-info/dependency_links.txt +0 -0
  28. {ryry_cli-4.8 → ryry_cli-4.10}/ryry_cli.egg-info/entry_points.txt +0 -0
  29. {ryry_cli-4.8 → ryry_cli-4.10}/ryry_cli.egg-info/requires.txt +0 -0
  30. {ryry_cli-4.8 → ryry_cli-4.10}/ryry_cli.egg-info/top_level.txt +0 -0
  31. {ryry_cli-4.8 → ryry_cli-4.10}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 4.8
3
+ Version: 4.10
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -1,6 +1,6 @@
1
1
  #!!!!! do not change this file !!!!!
2
- app_version="4.8"
3
- app_bulld_anchor="Noh_2025-07-18 17:25:45.679512"
2
+ app_version="4.10"
3
+ app_bulld_anchor="Noh_2025-07-21 14:09:00.552333"
4
4
  app_name="ryry-cli"
5
5
  import sys, os
6
6
  if getattr(sys, 'frozen', False):
@@ -43,7 +43,7 @@ def additionalUrl(srcFile, ossUrl):
43
43
  except:
44
44
  return ossUrl
45
45
 
46
- def upload(src, taskUUID=None, needTranscode=True, keepItAlways=False, additionalUrl=False, uploadPath=None):
46
+ def upload(src, taskUUID=None, needTranscode=False, keepItAlways=False, additionalUrl=False, uploadPath=None):
47
47
  import os
48
48
  from pathlib import Path
49
49
  from ryry import taskUtils as ryry_taskUtils
@@ -94,7 +94,6 @@ def uploadByDomain(src, targetDomain, taskUUID, keepItAlways=False, uploadPath=N
94
94
 
95
95
  file_name = Path(src).name
96
96
  ext = os.path.splitext(file_name)[-1][1:]
97
- new_file_name = ''.join(str(uuid.uuid4()).split('-'))
98
97
 
99
98
  parsed_domain, upload_path = parseDomainAndPath(targetDomain)
100
99
  if uploadPath:
@@ -105,15 +104,16 @@ def uploadByDomain(src, targetDomain, taskUUID, keepItAlways=False, uploadPath=N
105
104
 
106
105
  oss_config = getOssConfig(parsed_domain)
107
106
  if oss_config:
107
+ new_file_name = ''.join(str(uuid.uuid4()).split('-'))
108
108
  return uploadToOss(src, f"{new_file_name}.{ext}", oss_config, upload_path)
109
109
 
110
110
  ftp_config = getFtpConfig(parsed_domain)
111
111
  if ftp_config:
112
- return ftpUpload(src, f"{new_file_name}.{ext}", ftp_config, upload_path)
112
+ return ftpUpload(src, file_name, ftp_config, upload_path)
113
113
 
114
114
  if "mnt/NAS/mcn" in upload_path:
115
115
  ftp_config = getFtpConfig("183.6.90.205")
116
- return ftpUpload(src, f"{new_file_name}.{ext}", ftp_config, upload_path)
116
+ return ftpUpload(src, file_name, ftp_config, upload_path)
117
117
 
118
118
  from ryry import ryry_webapi
119
119
  return ryry_webapi.upload(src, ext, keepItAlways)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 4.8
3
+ Version: 4.10
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 = "4.8"
6
+ ryry_version = "4.10"
7
7
  cur_dir = os.path.dirname(os.path.abspath(__file__))
8
8
  constanspy = os.path.join(cur_dir, "ryry", "constant.py")
9
9
  try:
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
File without changes
File without changes
File without changes
File without changes