add total_duration column to library and update user_library table

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2025-06-14 20:57:00 -04:00
commit b93a753b9f
4 changed files with 20 additions and 17 deletions

View file

@ -21,6 +21,7 @@ type Library struct {
TotalFiles int `json:"totalFiles"`
TotalMissingFiles int `json:"totalMissingFiles"`
TotalSize int64 `json:"totalSize"`
TotalDuration int `json:"totalDuration"`
}
type Libraries []Library