New features: - EAN/Barcode can now be entered by typing or by photographing the CD sleeve; Vision-LLM (extract_barcode_from_image) reads the barcode from the photo - Scanner server (port 8765) starts at the beginning of every album loop, serving both EAN barcode scanning and back cover upload via QR code - Vision-LLM analyses back cover in background thread while ripping; priority: Vision-LLM > MusicBrainz > CDDB - _find_abcde_mbid reads MBID from abcde temp dirs for CAA cover download even when the CD barcode is not linked in MusicBrainz - Concrete copy-paste apply commands shown after each album in 'Next steps' - _sanitize_name: whitelist approach (removes brackets and punctuation) - qrcode added as dependency for terminal QR code display Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
37 lines
671 B
TOML
37 lines
671 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "musiksammlung"
|
|
version = "0.1.0"
|
|
description = "CLI-Tool zum Digitalisieren von CD-Sammlungen für Jellyfin"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"typer>=0.12",
|
|
"pydantic>=2.0",
|
|
"mutagen>=1.47",
|
|
"Pillow>=10.0",
|
|
"httpx>=0.27",
|
|
"qrcode>=7.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-cov",
|
|
"ruff",
|
|
]
|
|
|
|
[project.scripts]
|
|
musiksammlung = "musiksammlung.cli:app"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|