mirror of
https://github.com/glomatico/votify.git
synced 2026-10-17 05:12:36 +02:00
Add spotify_dll_path option and pass to interface
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user