mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-25 21:04:02 +02:00
Support downloading new podcast episodes
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user