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

View file

@ -42,7 +42,7 @@ type MediaFiles []MediaFile
type MediaFileRepository interface {
CountAll() (int64, error)
Exists(id string) (bool, error)
Put(m *MediaFile) error
Put(m *MediaFile, overrideAnnotation bool) error
Get(id string) (*MediaFile, error)
FindByAlbum(albumId string) (MediaFiles, error)
FindByPath(path string) (MediaFiles, error)