ingest: tag bandcamp downloads and correct label-account artists
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
yt-dlp's flat extraction mis-attributes bandcamp uploads: on a label account the artist becomes the label, and many files ship untagged. After a download, guess (artist, title, album) from the richer download metadata and the "Artist - Title" filename shape, confirm against MusicBrainz, and write ID3 tags into the file. Existing tags are respected; MusicBrainz is primary, filename parsing only a fallback. The file's tags are the single source of truth: the provider reads them back on the next pick, so the corrected identity (incl. MBID) is in place before the scheduler keys and anti-repeat-checks the track, and cache reuse inherits it too. Fetchers now return (path, Track) so the corrected metadata flows back. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
aad3c9d0f7
commit
fbdb2d6bb3
8 changed files with 346 additions and 36 deletions
|
|
@ -1,2 +1,3 @@
|
|||
httpx>=0.27
|
||||
yt-dlp>=2024.1
|
||||
mutagen>=1.47
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue