From 65c229ee7fe43fa8e4455f211b2bec04c30576f0 Mon Sep 17 00:00:00 2001 From: Connor Johnstone Date: Mon, 23 Mar 2026 17:11:38 -0400 Subject: [PATCH] removed secondary artists --- src/tagger.rs | 7 ------- tests/integration.rs | 1 - 2 files changed, 8 deletions(-) diff --git a/src/tagger.rs b/src/tagger.rs index 0fd1631..0fd6c1e 100644 --- a/src/tagger.rs +++ b/src/tagger.rs @@ -119,13 +119,6 @@ pub async fn tag_track( ), }; - // Upsert secondary collaborator artists so they exist as separate library entries - for (name, mbid) in &details.secondary_artists { - if let Err(e) = queries::artists::upsert(conn, name, Some(mbid)).await { - tracing::warn!(artist = %name, error = %e, "failed to upsert secondary artist"); - } - } - // Upsert album from best release let (album_id, album_name) = if let Some(ref release) = best_release { let album = queries::albums::upsert( diff --git a/tests/integration.rs b/tests/integration.rs index 5b45f51..e3a424c 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -53,7 +53,6 @@ impl MetadataProvider for MockProvider { }], duration_ms: Some(413_000), genres: vec!["Progressive Rock".into()], - secondary_artists: vec![], }) } else { Err(shanty_data::DataError::Other("not found".into()))