mirror of
https://github.com/glomatico/gamdl.git
synced 2026-06-13 04:05:14 +03:00
Rename artist_selection to artist_auto_select in CLI
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user