diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-27 22:11:09 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-27 22:11:09 +0000 |
commit | ef55effa58ee01089bffb441a65e932393d9facb (patch) | |
tree | 29f65a87c423953b0575b25780bb8432bab09df2 /src/util.py | |
parent | e8bd0e3644070d2ea9f8fc309e725d9b9b3d0bd6 (diff) | |
download | youload-ef55effa58ee01089bffb441a65e932393d9facb.tar.gz youload-ef55effa58ee01089bffb441a65e932393d9facb.tar.bz2 youload-ef55effa58ee01089bffb441a65e932393d9facb.zip |
Working on yt-dlpswitch_to_yt_dlp
Diffstat (limited to 'src/util.py')
-rw-r--r-- | src/util.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util.py b/src/util.py index 99c9c03..4b82c77 100644 --- a/src/util.py +++ b/src/util.py @@ -1,9 +1,5 @@ import os -import ffmpeg -import subprocess -from urllib.request import urlretrieve from kivy.utils import platform -from kivy.app import App def get_default_download_dir() -> str: if platform == "android": @@ -11,6 +7,3 @@ def get_default_download_dir() -> str: else: from pathlib import Path return os.path.join(str(Path.home()), "Downloads") - -def convert_mp4_to_mp3(input_file: str, output_file: str) -> None: - ffmpeg.input(input_file).output(output_file).run() |