Don't override media annotations when scanning/importing

This commit is contained in:
Deluan
2020-01-18 21:45:44 -05:00
parent 938a92eded
commit fe058aa4a1
9 changed files with 18 additions and 11 deletions
+2 -1
View File
@@ -145,7 +145,8 @@ where f.artist_id in ('%s') group by f.artist_id order by f.id`, strings.Join(id
}
if len(toUpdate) > 0 {
for _, al := range toUpdate {
_, err := o.Update(&al)
// Don't update Starred
_, err := o.Update(&al, "name", "album_count")
if err != nil {
return err
}