mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-03 09:34:51 +02:00
Support downloading new podcast episodes
This commit is contained in:
parent
e52a5fd585
commit
5f4ff38035
5 changed files with 41 additions and 16 deletions
|
@ -168,7 +168,7 @@ class Database {
|
|||
|
||||
public func saveLocalMediaProgress(_ mediaProgress: LocalMediaProgress) {
|
||||
let realm = try! Realm()
|
||||
try! realm.write { realm.add(mediaProgress) }
|
||||
try! realm.write { realm.add(mediaProgress, update: .modified) }
|
||||
}
|
||||
|
||||
// For books this will just be the localLibraryItemId for podcast episodes this will be "{localLibraryItemId}-{episodeId}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue