mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-25 04:44:11 +02:00
Functions to update local progress
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user