Remove database_path option from downloader and CLI

This commit is contained in:
Rafael Moraes
2025-10-23 01:06:29 -03:00
parent f719008557
commit 9d848cdb99
2 changed files with 0 additions and 10 deletions
-8
View File
@@ -355,12 +355,6 @@ def make_sync(func):
default=base_downloader_sig.parameters["truncate"].default,
help="Maximum length of the file/folder names.",
)
@click.option(
"--database-path",
type=click.Path(file_okay=True, dir_okay=False, writable=True, resolve_path=True),
default=base_downloader_sig.parameters["database_path"].default,
help="Path to the downloaded media database file.",
)
# DownloaderSong specific options
@click.option(
"--codec-song",
@@ -454,7 +448,6 @@ async def main(
exclude_tags: list[str],
cover_size: int,
truncate: int,
database_path: str,
codec_song: SongCodec,
synced_lyrics_format: SyncedLyricsFormat,
no_synced_lyrics: bool,
@@ -525,7 +518,6 @@ async def main(
exclude_tags=exclude_tags,
cover_size=cover_size,
truncate=truncate,
database_path=database_path,
)
base_downloader.setup()
-2
View File
@@ -55,7 +55,6 @@ class AppleMusicBaseDownloader:
exclude_tags: list[str] = None,
cover_size: int = 1200,
truncate: int = None,
database_path: str = None,
silent: bool = False,
skip_processing: bool = False,
):
@@ -84,7 +83,6 @@ class AppleMusicBaseDownloader:
self.exclude_tags = exclude_tags
self.cover_size = cover_size
self.truncate = truncate
self.database_path = database_path
self.silent = silent
self.skip_processing = skip_processing