mirror of
https://github.com/glomatico/votify.git
synced 2026-09-28 03:52:26 +02:00
Remove no_drm CLI option and usages
This commit is contained in:
+1
-2
@@ -81,7 +81,7 @@ async def main(config: CliConfig):
|
||||
cookies_path = prompt_path(config.cookies_path)
|
||||
|
||||
wvd_path = None
|
||||
if not config.no_drm:
|
||||
if wvd_path:
|
||||
wvd_path = prompt_path(config.wvd_path)
|
||||
|
||||
if config.database_path:
|
||||
@@ -96,7 +96,6 @@ async def main(config: CliConfig):
|
||||
base_interface = SpotifyBaseInterface(
|
||||
api=api,
|
||||
cover_size=config.cover_size,
|
||||
no_drm=config.no_drm,
|
||||
skip_stream_info=config.synced_lyrics_only,
|
||||
wvd_path=wvd_path,
|
||||
)
|
||||
|
||||
@@ -150,14 +150,6 @@ class CliConfig:
|
||||
type=CoverSize,
|
||||
),
|
||||
]
|
||||
no_drm: Annotated[
|
||||
bool,
|
||||
option(
|
||||
"--no-drm",
|
||||
help="Don't allow DRM-protected media",
|
||||
is_flag=True,
|
||||
),
|
||||
]
|
||||
wvd_path: Annotated[
|
||||
str,
|
||||
option(
|
||||
|
||||
Reference in New Issue
Block a user