From fcc5eae9ab309e9d3c0968abb5a16944477a7164 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Thu, 26 Mar 2026 17:59:59 -0300 Subject: [PATCH] Add spotify_dll_path option and pass to interface --- votify/cli/cli.py | 1 + votify/cli/cli_config.py | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/votify/cli/cli.py b/votify/cli/cli.py index 95894f5..a6afed8 100644 --- a/votify/cli/cli.py +++ b/votify/cli/cli.py @@ -109,6 +109,7 @@ async def main(config: CliConfig): cover_size=config.cover_size, skip_stream_info=config.synced_lyrics_only, wvd_path=wvd_path, + spotify_dll_path=config.spotify_dll_path, ) video_interface = SpotifyVideoInterface( base=base_interface, diff --git a/votify/cli/cli_config.py b/votify/cli/cli_config.py index 171e351..68a088f 100644 --- a/votify/cli/cli_config.py +++ b/votify/cli/cli_config.py @@ -175,6 +175,20 @@ class CliConfig: ), ), ] + spotify_dll_path: Annotated[ + str, + option( + "--spotify-dll-path", + help="Spotify DLL file path for desktop session decryption", + default=base_interface_sig.parameters["spotify_dll_path"].default, + type=click.Path( + file_okay=True, + dir_okay=False, + readable=True, + resolve_path=True, + ), + ), + ] # Audio Interface specific options audio_quality: Annotated[ list[AudioQuality],