mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Add MBIDs to media_file, album and artist
This commit is contained in:
parent
64ccb4d188
commit
6663c079e0
9 changed files with 138 additions and 2 deletions
|
@ -144,6 +144,7 @@ func (r *artistRepository) refresh(ids ...string) error {
|
|||
}
|
||||
var artists []refreshArtist
|
||||
sel := Select("f.album_artist_id as id", "f.album_artist as name", "count(*) as album_count", "a.id as current_id",
|
||||
"f.mbz_album_artist_id as mbz_artist_id",
|
||||
"f.sort_album_artist_name as sort_artist_name", "f.order_album_artist_name as order_artist_name",
|
||||
"sum(f.song_count) as song_count", "sum(f.size) as size").
|
||||
From("album f").
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue