Include albumartist in filename; remove Claude API from LLM chain

Filename schema now: TT - AlbumArtist - TrackArtist - Title when albumartist
differs from track artist (e.g. pianist vs. composer). Identical artist → old
two-part format unchanged.

metadata_resolver: removed Claude API fallback entirely from _claude_resolve.
Chain is now Ollama (local, free) → OpenRouter (DeepSeek V3, cheap) only.

music_enricher: updated status line and use_claude flag accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Dieter Schlüter 2026-04-28 22:22:10 +02:00
commit 8bd48cf166
3 changed files with 13 additions and 24 deletions

View file

@ -96,7 +96,7 @@ def process_album(
hints,
use_fingerprint=not args.no_fingerprint,
use_api=not args.no_api,
use_claude=bool(os.getenv("ANTHROPIC_API_KEY")),
use_claude=not args.no_api,
)
# Cover art
@ -235,8 +235,8 @@ def main() -> None:
sys.exit(1)
print(f"🎵 {len(album_dirs)} Album-Verzeichnisse gefunden.")
if os.getenv("ANTHROPIC_API_KEY"):
print("🤖 Claude API aktiv.")
if os.getenv("OLLAMA_HOST") or True: # Ollama always attempted
print("🤖 LLM-Resolve: Ollama → OpenRouter (kein Claude)")
if not args.no_api:
print("🔍 MusicBrainz-Lookup aktiv.")
if args.dry_run: