Remove no_drm CLI option and usages

This commit is contained in:
Rafael Moraes
2026-03-22 16:15:46 -03:00
parent b271d5fedb
commit 96d42778eb
2 changed files with 1 additions and 10 deletions
+1 -2
View File
@@ -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,
)
-8
View File
@@ -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(