From e7f9341e6b30a193d87724132e873ea0cb3daf9c Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Fri, 4 Jul 2025 20:24:10 -0300 Subject: [PATCH] Reorder and fix --disable-wvd CLI option placement --- votify/cli.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/votify/cli.py b/votify/cli.py index fc40c1d..7891231 100644 --- a/votify/cli.py +++ b/votify/cli.py @@ -102,6 +102,11 @@ def load_config_file( default=5, help="Wait interval between downloads in seconds.", ) +@click.option( + "--disable-wvd", + is_flag=True, + help="Disable Widevine decryption.", +) @click.option( "--download-music-videos", is_flag=True, @@ -278,11 +283,6 @@ def load_config_file( is_flag=True, help="Overwrite existing files.", ) -@click.option( - "--disable-wvd", - is_flag=True, - help="Disable Widevine decryption.", -) @click.option( "--exclude-tags", type=str, @@ -352,6 +352,7 @@ def load_config_file( def main( urls: list[str], wait_interval: float, + disable_wvd: bool, download_music_videos: bool, download_podcast_videos: bool, force_premium: bool, @@ -383,7 +384,6 @@ def main( save_cover: bool, save_playlist: bool, overwrite: bool, - disable_wvd: bool, exclude_tags: str, truncate: int, audio_quality: AudioQuality,