aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.py
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-03-27 22:11:09 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-03-27 22:11:09 +0000
commitef55effa58ee01089bffb441a65e932393d9facb (patch)
tree29f65a87c423953b0575b25780bb8432bab09df2 /src/util.py
parente8bd0e3644070d2ea9f8fc309e725d9b9b3d0bd6 (diff)
downloadyouload-switch_to_yt_dlp.tar.gz
youload-switch_to_yt_dlp.tar.bz2
youload-switch_to_yt_dlp.zip
Working on yt-dlpswitch_to_yt_dlp
Diffstat (limited to 'src/util.py')
-rw-r--r--src/util.py7
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()