diff --git a/bot.py b/bot.py index 5ce822f..588ae40 100644 --- a/bot.py +++ b/bot.py @@ -869,8 +869,7 @@ async def get_file(ctx, source, link): "force_keyframes": True, }, ] - #TODO: TEMPORARY - sponsorblock_postprocessor=None + sponsorblock_postprocessor = [] if platform == "win32": dir_path = "G:\\Muzyka\\Youtube" else: @@ -879,6 +878,7 @@ async def get_file(ctx, source, link): "proxy": "", "default_search": "ytsearch", "format": "bestaudio/best", + "postprocessors": sponsorblock_postprocessor, "noplaylist": True, "no_color": False, "paths": {"home": dir_path},