removed secondary artists
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user