Skip to content

Commit d9959b9

Browse files
committed
wip37
1 parent 0f9ddb7 commit d9959b9

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/ffmpeg_downloader/_macos.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,12 @@ def extract(zippaths, dst, progress=None):
104104
for f in fzips:
105105
for i in f.infolist():
106106
if i.filename in ("ffmpeg", "ffprobe", "ffplay"):
107-
# getattr(i, "file_size", 0): # file
108107
with (
109108
f.open(i) as fi,
110109
open(path.join(dst, i.filename), "wb") as fo,
111110
):
112111
copyfileobj(progress.io_wrapper(fi), fo)
113-
else:
114-
f.extract(i, dst)
112+
break
115113
finally:
116114
for f in fzips:
117115
f.close()

‎src/ffmpeg_downloader/_providers/osxexperts.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def detect_version(
3535

3636
# standard version string (followed by -<provider signature>)
3737
m = re.match(
38-
r"ffmpeg version ([.\d]+)-tessus https://evermeet.cx/ffmpeg/ Copyright",
38+
r"ffmpeg version ([.\d]+) Copyright",
3939
ver_str,
4040
)
4141
if not m:

0 commit comments

Comments
 (0)