Rename artist_selection to artist_auto_select in CLI

This commit is contained in:
Rafael Moraes
2026-02-25 19:05:07 -03:00
parent beb508529a
commit 79a03d4f4c
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ async def main(config: CliConfig):
song_downloader=song_downloader,
music_video_downloader=music_video_downloader,
uploaded_video_downloader=uploaded_video_downloader,
artist_selection=config.artist_selection,
artist_auto_select=config.artist_auto_select,
)
if not config.synced_lyrics_only:
+7 -7
View File
@@ -13,7 +13,7 @@ from ..downloader import (
AppleMusicMusicVideoDownloader,
AppleMusicSongDownloader,
AppleMusicUploadedVideoDownloader,
ArtistDownloadSelection,
ArtistAutoSelect,
DownloadMode,
RemuxFormatMusicVideo,
RemuxMode,
@@ -139,13 +139,13 @@ class CliConfig:
),
]
# Downloader specific options
artist_selection: Annotated[
ArtistDownloadSelection | None,
artist_auto_select: Annotated[
ArtistAutoSelect | None,
option(
"--artist-selection",
help="Artist download selection",
default=downloader_sig.parameters["artist_selection"].default,
type=ArtistDownloadSelection,
"--artist-auto-select",
help="Automatically select artist content to download (only for artist URLs)",
default=downloader_sig.parameters["artist_auto_select"].default,
type=ArtistAutoSelect,
),
]
# Base Downloader specific options