easyrip 4.13.0__tar.gz → 4.13.2__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 (37) hide show
  1. {easyrip-4.13.0 → easyrip-4.13.2}/PKG-INFO +1 -1
  2. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/global_val.py +1 -1
  3. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/ripper.py +16 -12
  4. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/PKG-INFO +1 -1
  5. {easyrip-4.13.0 → easyrip-4.13.2}/LICENSE +0 -0
  6. {easyrip-4.13.0 → easyrip-4.13.2}/README.md +0 -0
  7. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/__init__.py +0 -0
  8. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/__main__.py +0 -0
  9. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_command.py +0 -0
  10. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_config/config.py +0 -0
  11. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_config/config_key.py +0 -0
  12. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_log.py +0 -0
  13. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_main.py +0 -0
  14. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/__init__.py +0 -0
  15. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/global_lang_val.py +0 -0
  16. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/lang_en.py +0 -0
  17. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/lang_tag_val.py +0 -0
  18. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/lang_zh_Hans_CN.py +0 -0
  19. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/translator.py +0 -0
  20. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_prompt.py +0 -0
  21. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_web/__init__.py +0 -0
  22. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_web/http_server.py +0 -0
  23. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_web/third_party_api.py +0 -0
  24. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/media_info.py +0 -0
  25. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/param.py +0 -0
  26. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/sub_and_font/__init__.py +0 -0
  27. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/sub_and_font/ass.py +0 -0
  28. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/sub_and_font/font.py +0 -0
  29. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/sub_and_font/subset.py +0 -0
  30. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/utils.py +0 -0
  31. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/SOURCES.txt +0 -0
  32. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/dependency_links.txt +0 -0
  33. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/entry_points.txt +0 -0
  34. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/requires.txt +0 -0
  35. {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/top_level.txt +0 -0
  36. {easyrip-4.13.0 → easyrip-4.13.2}/pyproject.toml +0 -0
  37. {easyrip-4.13.0 → easyrip-4.13.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: easyrip
3
- Version: 4.13.0
3
+ Version: 4.13.2
4
4
  Author: op200
5
5
  License-Expression: AGPL-3.0-or-later
6
6
  Project-URL: Homepage, https://github.com/op200/EasyRip
@@ -4,7 +4,7 @@ from functools import cache
4
4
  from pathlib import Path
5
5
 
6
6
  PROJECT_NAME = "Easy Rip"
7
- PROJECT_VERSION = "4.13.0"
7
+ PROJECT_VERSION = "4.13.2"
8
8
  PROJECT_TITLE = f"{PROJECT_NAME} v{PROJECT_VERSION}"
9
9
  PROJECT_URL = "https://github.com/op200/EasyRip"
10
10
  PROJECT_RELEASE_API = "https://api.github.com/repos/op200/EasyRip/releases/latest"
@@ -474,17 +474,21 @@ class Ripper:
474
474
  f"-map 0:{_audio_info.index} -c:a {_encoder} {ffparams_out} "
475
475
  f'"{_new_output_str}.wav" '
476
476
  )
477
- _flac_encode_str_list = [
478
- (
479
- f"flac -j 32 -8 -e -p -l {'19' if _audio_info.sample_rate > 48000 else '12'} "
480
- f'-o "{_new_output_str}.flac" "{_new_output_str}.wav"'
481
- ),
482
- f'{cmd_head_del} "{_new_output_str}.wav"',
483
- ]
477
+ _flac_encode_str_list.extend(
478
+ [
479
+ (
480
+ f"flac -j 32 -8 -e -p -l {'19' if _audio_info.sample_rate > 48000 else '12'} "
481
+ f'-o "{_new_output_str}.flac" "{_new_output_str}.wav"'
482
+ ),
483
+ f'{cmd_head_del} "{_new_output_str}.wav"',
484
+ ]
485
+ )
484
486
 
485
487
  _mux_flac_input_list.append(f'"{_new_output_str}.flac"')
486
488
 
487
- _del_flac_str_list = [f'{cmd_head_del} "{_new_output_str}.flac" ']
489
+ _del_flac_str_list.append(
490
+ f'{cmd_head_del} "{_new_output_str}.flac" '
491
+ )
488
492
 
489
493
  match len(_mux_flac_input_list):
490
494
  case 0:
@@ -660,7 +664,7 @@ class Ripper:
660
664
  )
661
665
 
662
666
  encoder_format_str_list = [
663
- get_vs_ff_cmd(f'-c:v {preset_name.value} "{_param}"')
667
+ get_vs_ff_cmd(f"-c:v {preset_name.value} {_param}")
664
668
  ]
665
669
 
666
670
  case Ripper.Preset_name.svtav1:
@@ -678,7 +682,7 @@ class Ripper:
678
682
  (f"-{key} {val}" for key, val in _option_map.items() if val)
679
683
  )
680
684
 
681
- encoder_format_str_list = [get_vs_ff_cmd(f'-c:v libsvtav1 "{_param}"')]
685
+ encoder_format_str_list = [get_vs_ff_cmd(f"-c:v libsvtav1 {_param}")]
682
686
 
683
687
  case Ripper.Preset_name.vvenc:
684
688
  _option_map = {
@@ -694,7 +698,7 @@ class Ripper:
694
698
  (f"-{key} {val}" for key, val in _option_map.items() if val)
695
699
  )
696
700
 
697
- encoder_format_str_list = [get_vs_ff_cmd(f'-c:v libvvenc "{_param}"')]
701
+ encoder_format_str_list = [get_vs_ff_cmd(f"-c:v libvvenc {_param}")]
698
702
 
699
703
  case Ripper.Preset_name.ffv1:
700
704
  _option_map = {
@@ -706,7 +710,7 @@ class Ripper:
706
710
  (f"-{key} {val}" for key, val in _option_map.items() if val)
707
711
  )
708
712
 
709
- encoder_format_str_list = [get_vs_ff_cmd(f'-c:v ffv1 "{_param}"')]
713
+ encoder_format_str_list = [get_vs_ff_cmd(f"-c:v ffv1 {_param}")]
710
714
 
711
715
  case Ripper.Preset_name.subset:
712
716
  encoder_format_str_list = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: easyrip
3
- Version: 4.13.0
3
+ Version: 4.13.2
4
4
  Author: op200
5
5
  License-Expression: AGPL-3.0-or-later
6
6
  Project-URL: Homepage, https://github.com/op200/EasyRip
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes