Register PlayCount/Date in the DB, if DevUseFolderScanner is true
This commit is contained in:
+2
-1
@@ -36,8 +36,9 @@ type AlbumRepository interface {
|
||||
PurgeInactive(active Albums) error
|
||||
GetAllIds() ([]string, error)
|
||||
GetStarred(...QueryOptions) (Albums, error)
|
||||
SetStar(star bool, ids ...string) error
|
||||
Search(q string, offset int, size int) (Albums, error)
|
||||
Refresh(ids ...string) error
|
||||
PurgeEmpty() error
|
||||
SetStar(star bool, ids ...string) error
|
||||
MarkAsPlayed(id string, playDate time.Time) error
|
||||
}
|
||||
|
||||
@@ -54,4 +54,5 @@ type MediaFileRepository interface {
|
||||
DeleteByPath(path string) error
|
||||
SetStar(star bool, ids ...string) error
|
||||
SetRating(rating int, ids ...string) error
|
||||
MarkAsPlayed(id string, playTime time.Time) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user