This commit is contained in:
2024-03-29 15:25:24 +01:00
parent 52a94e7172
commit b4d0eeae13
+2 -2
View File
@@ -869,8 +869,7 @@ async def get_file(ctx, source, link):
"force_keyframes": True, "force_keyframes": True,
}, },
] ]
#TODO: TEMPORARY sponsorblock_postprocessor = []
sponsorblock_postprocessor=None
if platform == "win32": if platform == "win32":
dir_path = "G:\\Muzyka\\Youtube" dir_path = "G:\\Muzyka\\Youtube"
else: else:
@@ -879,6 +878,7 @@ async def get_file(ctx, source, link):
"proxy": "", "proxy": "",
"default_search": "ytsearch", "default_search": "ytsearch",
"format": "bestaudio/best", "format": "bestaudio/best",
"postprocessors": sponsorblock_postprocessor,
"noplaylist": True, "noplaylist": True,
"no_color": False, "no_color": False,
"paths": {"home": dir_path}, "paths": {"home": dir_path},