Implement online metadata lookup in shanty-tag
#4
Notifications
Total Time Spent: 36 minutes
connor
36 minutes
No due date set.
Dependencies
No dependencies set.
Reference: Shanty/Main#4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
shanty-tagcrate is responsible for filling in missing or incorrect metadata on music files. The MVP approach is "look online first" — query online databases (primarily MusicBrainz) using whatever partial metadata is available (artist + title, album name, etc.) to find the correct tags.This issue covers:
shanty-dbwith the new metadata. Also update the MusicBrainz IDs for future reference.shanty-tagbinary should accept:--allto tag all untagged/partially-tagged tracks in the database--track <id>to tag a specific track--dry-runto show what would be changed without applying--write-tagsto enable writing tags back to files--confidence <0.0-1.0>to set the match threshold (default ~0.8)Design Considerations
MetadataProvidertrait with methods likesearch_recording,search_release,get_recording_details, etc.Shanty/0.1.0 (https://github.com/your-repo).Acceptance Criteria
--write-tagsactually writes metadata back into the music file--dry-runshows proposed changes without applying themMetadataProvidertrait exists, and MusicBrainz is the first implementationDependencies