Use Subsonic API to star/unstar

This removes the need to update the annotations on Put(model), removing complexity and making it less buggy
This commit is contained in:
Deluan
2020-10-03 20:06:38 -04:00
parent 47976e13b1
commit abd51b2156
4 changed files with 37 additions and 32 deletions
-3
View File
@@ -171,9 +171,6 @@ func (r sqlRepository) put(id string, m interface{}) (newId string, err error) {
return "", err
}
if count > 0 {
if _, ok := m.(model.AnnotatedModel); ok {
err = r.updateAnnotations(id, m)
}
return id, err
}
}