Add catalog number support for precise Discogs searches
- Added catalog_number field to LocalTrack and LocalAlbum models - Extract catalog_number tag from audio files using lofty - Database migration to add catalog_number column to local_tracks table - Modified Discogs search to prefer catalog number over artist/album - Updated UI to display catalog number in album details - Pass catalog_number to discogs_search_artwork command For audiophile users with well-tagged libraries, catalog numbers provide more precise Discogs search results than artist + album.
This commit is contained in:
1 parent
2a5c181618
commit
279d433b77
7 files changed
+72
-17
No files matched your search
@@ -325,6 +325,7 @@ impl MetadataExtractor {
|
||||
.or(inferred_disc),
|
||||
year: tag.year().map(|y| y as u32),
|
||||
genre: tag.genre().map(|s| s.to_string()),
|
||||
catalog_number: tag.get_string(&ItemKey::CatalogNumber).map(|s| s.to_string()),
|
||||
duration_secs,
|
||||
format,
|
||||
bit_depth,
|
||||
@@ -363,6 +364,7 @@ impl MetadataExtractor {
|
||||
disc_number: inferred_disc,
|
||||
year: None,
|
||||
genre: None,
|
||||
catalog_number: None,
|
||||
duration_secs,
|
||||
format,
|
||||
bit_depth,
|
||||
|
||||
Reference in new issue
Block a user