Add spotify_dll_path option and pass to interface

This commit is contained in:
Rafael Moraes
2026-03-26 17:59:59 -03:00
parent a3a10f20fa
commit fcc5eae9ab
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -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,
+14
View File
@@ -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],