- Added a new command-line argument `--delete` to allow users to delete single albums after successful metadata migration. - Integrated the `unmonitor_and_delete_album` function to handle the deletion process for albums that meet the migration criteria. - Enhanced the `migrate_plex_metadata` function to support exclusion of smart playlists during migration. - Updated logging to provide detailed feedback on the deletion process and migration results.
22 lines
533 B
TOML
22 lines
533 B
TOML
[build-system]
|
|
requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["main", "lidarr_client", "audio_verification", "track_verification", "plex_metadata", "duplicate_finder", "lidarr_delete"]
|
|
|
|
[project]
|
|
name = "lidarr-cleanup-singles"
|
|
version = "1.0.0"
|
|
description = "Identify and optionally delete duplicate single tracks in Lidarr"
|
|
requires-python = ">=3.8"
|
|
dependencies = [
|
|
"requests",
|
|
"python-dotenv",
|
|
"plexapi",
|
|
]
|
|
|
|
[project.scripts]
|
|
lidarr-cleanup-singles = "main:main"
|
|
|