ffmpeg-normalize 1.32.2__py2.py3-none-any.whl → 1.32.3__py2.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.
- ffmpeg_normalize/_media_file.py +8 -0
- ffmpeg_normalize/_version.py +1 -1
- {ffmpeg_normalize-1.32.2.dist-info → ffmpeg_normalize-1.32.3.dist-info}/METADATA +21 -4
- {ffmpeg_normalize-1.32.2.dist-info → ffmpeg_normalize-1.32.3.dist-info}/RECORD +8 -8
- {ffmpeg_normalize-1.32.2.dist-info → ffmpeg_normalize-1.32.3.dist-info}/WHEEL +1 -1
- {ffmpeg_normalize-1.32.2.dist-info → ffmpeg_normalize-1.32.3.dist-info}/entry_points.txt +0 -0
- {ffmpeg_normalize-1.32.2.dist-info → ffmpeg_normalize-1.32.3.dist-info/licenses}/LICENSE +0 -0
- {ffmpeg_normalize-1.32.2.dist-info → ffmpeg_normalize-1.32.3.dist-info}/top_level.txt +0 -0
ffmpeg_normalize/_media_file.py
CHANGED
|
@@ -596,6 +596,10 @@ class MediaFile:
|
|
|
596
596
|
yield 100
|
|
597
597
|
return
|
|
598
598
|
|
|
599
|
+
# track temp_dir for cleanup
|
|
600
|
+
temp_dir = None
|
|
601
|
+
temp_file = None
|
|
602
|
+
|
|
599
603
|
# special case: if output is a null device, write directly to it
|
|
600
604
|
if self.output_file == os.devnull:
|
|
601
605
|
cmd.append(self.output_file)
|
|
@@ -617,6 +621,10 @@ class MediaFile:
|
|
|
617
621
|
f"Moving temporary file from {temp_file} to {self.output_file}"
|
|
618
622
|
)
|
|
619
623
|
move(temp_file, self.output_file)
|
|
624
|
+
finally:
|
|
625
|
+
# clean up temp directory if it was created
|
|
626
|
+
if temp_dir and os.path.exists(temp_dir):
|
|
627
|
+
rmtree(temp_dir, ignore_errors=True)
|
|
620
628
|
|
|
621
629
|
output = cmd_runner.get_output()
|
|
622
630
|
# in the second pass, we do not normalize stream-by-stream, so we set the stats based on the
|
ffmpeg_normalize/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.32.
|
|
1
|
+
__version__ = "1.32.3"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name:
|
|
3
|
-
Version: 1.32.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ffmpeg_normalize
|
|
3
|
+
Version: 1.32.3
|
|
4
4
|
Summary: Normalize audio via ffmpeg
|
|
5
5
|
Home-page: https://github.com/slhck/ffmpeg-normalize
|
|
6
6
|
Author: Werner Robitza
|
|
@@ -24,10 +24,22 @@ Requires-Python: >=3.9
|
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
26
|
Requires-Dist: tqdm
|
|
27
|
+
Requires-Dist: colorama; platform_system == "Windows"
|
|
27
28
|
Requires-Dist: ffmpeg-progress-yield
|
|
28
29
|
Requires-Dist: colorlog
|
|
29
30
|
Requires-Dist: mutagen
|
|
30
|
-
|
|
31
|
+
Dynamic: author
|
|
32
|
+
Dynamic: author-email
|
|
33
|
+
Dynamic: classifier
|
|
34
|
+
Dynamic: description
|
|
35
|
+
Dynamic: description-content-type
|
|
36
|
+
Dynamic: home-page
|
|
37
|
+
Dynamic: keywords
|
|
38
|
+
Dynamic: license
|
|
39
|
+
Dynamic: license-file
|
|
40
|
+
Dynamic: requires-dist
|
|
41
|
+
Dynamic: requires-python
|
|
42
|
+
Dynamic: summary
|
|
31
43
|
|
|
32
44
|
# ffmpeg-normalize
|
|
33
45
|
|
|
@@ -119,6 +131,11 @@ The only reason this project exists in its current form is because [@benjaoming]
|
|
|
119
131
|
# Changelog
|
|
120
132
|
|
|
121
133
|
|
|
134
|
+
## v1.32.3 (2025-05-30)
|
|
135
|
+
|
|
136
|
+
* Fix temp dir cleanup, fixes #284.
|
|
137
|
+
|
|
138
|
+
|
|
122
139
|
## v1.32.2 (2025-05-08)
|
|
123
140
|
|
|
124
141
|
* Docs: reference changelog.
|
|
@@ -4,13 +4,13 @@ ffmpeg_normalize/_cmd_utils.py,sha256=iGzO3iOylDUOnx-FCKd84BMxiIhmIthxU1tg7kvf4S
|
|
|
4
4
|
ffmpeg_normalize/_errors.py,sha256=brTQ4osJ4fTA8wnyMPVVYfGwJ0wqeShRFydTEwi_VEY,48
|
|
5
5
|
ffmpeg_normalize/_ffmpeg_normalize.py,sha256=79wzFR4ZOgy-Wn0ywi8PNJzsrxiDSMKtJ6_auHxiQvo,11762
|
|
6
6
|
ffmpeg_normalize/_logger.py,sha256=3Ap4Fxg7xGrzz7h4IGuNEf0KKstx0Rq_eLbHPrHzcrI,1841
|
|
7
|
-
ffmpeg_normalize/_media_file.py,sha256=
|
|
7
|
+
ffmpeg_normalize/_media_file.py,sha256=Nq99uIWNzYEIJvqtMdLSTheCfPuEz9RUI2TmOj5JTeY,26004
|
|
8
8
|
ffmpeg_normalize/_streams.py,sha256=w-gzAFUbnoLiRABckUgYqdhVgidtEATNd3di-jiP9fU,20599
|
|
9
|
-
ffmpeg_normalize/_version.py,sha256=
|
|
9
|
+
ffmpeg_normalize/_version.py,sha256=sJB5QegETJ0pJBZy1_Y8qTpWDV41DuNG3trAjwSVFas,23
|
|
10
10
|
ffmpeg_normalize/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
ffmpeg_normalize-1.32.
|
|
12
|
-
ffmpeg_normalize-1.32.
|
|
13
|
-
ffmpeg_normalize-1.32.
|
|
14
|
-
ffmpeg_normalize-1.32.
|
|
15
|
-
ffmpeg_normalize-1.32.
|
|
16
|
-
ffmpeg_normalize-1.32.
|
|
11
|
+
ffmpeg_normalize-1.32.3.dist-info/licenses/LICENSE,sha256=mw5RQE6v4UXG_d2gYIQw9rq6jYWQCtzIs3fSm5sBSrs,1076
|
|
12
|
+
ffmpeg_normalize-1.32.3.dist-info/METADATA,sha256=bWM7-_Ni3SAZ_sw6Yve2EuKSBFsl96eoQPZWtLs8z9A,33075
|
|
13
|
+
ffmpeg_normalize-1.32.3.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
14
|
+
ffmpeg_normalize-1.32.3.dist-info/entry_points.txt,sha256=X0EC5ptb0iGOxrk3Aa65dVQtvUixngLd_2-iAtSixdc,68
|
|
15
|
+
ffmpeg_normalize-1.32.3.dist-info/top_level.txt,sha256=wnUkr17ckPrrU1JsxZQiXbEBUnHKsC64yck-MemEBuI,17
|
|
16
|
+
ffmpeg_normalize-1.32.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|