mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Log warning when artist has a MBID of Various Artists
This commit is contained in:
parent
e61cf3217d
commit
44e7502aef
5 changed files with 32 additions and 29 deletions
|
@ -198,7 +198,7 @@ func (r *artistRepository) refresh(ids ...string) error {
|
|||
} else {
|
||||
toInsert++
|
||||
}
|
||||
ar.MbzArtistID = getMbzId(r.ctx, ar.MbzArtistID, r.tableName, ar.Name)
|
||||
ar.MbzArtistID = getMostFrequentMbzID(r.ctx, ar.MbzArtistID, r.tableName, ar.Name)
|
||||
err := r.Put(&ar.Artist)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue