mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-30 14:49:47 +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
|
@ -9,7 +9,7 @@ import Foundation
|
|||
import Unrealm
|
||||
|
||||
struct LocalLibraryItem: Realmable, Codable {
|
||||
var id: String = "local_\(UUID().uuidString)"
|
||||
var id: String = ""
|
||||
var basePath: String = ""
|
||||
var _contentUrl: String?
|
||||
var isInvalid: Bool = false
|
||||
|
@ -39,6 +39,8 @@ struct LocalLibraryItem: Realmable, Codable {
|
|||
}
|
||||
}
|
||||
|
||||
var isPodcast: Bool { self.mediaType == "podcast" }
|
||||
|
||||
static func primaryKey() -> String? {
|
||||
return "id"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue