Functions to update local progress

This commit is contained in:
ronaldheft 2022-08-11 20:38:51 -04:00
parent c32c77b963
commit f4e39ec7ca
4 changed files with 39 additions and 0 deletions

View file

@ -151,6 +151,8 @@ struct LocalMediaProgress: Realmable, Codable {
var libraryItemId: String?
var episodeId: String?
var progressPercent: Int { Int(self.progress * 100) }
static func primaryKey() -> String? {
return "id"
}