Multiple servers can be added to Ferrite to playback from any Kodi server that the user wants. This also adds the ability to have friendly names which makes it easier to select what server to play on. Each server shows the user whether it's online or not through Kodi's JSONRPC ping method. Signed-off-by: kingbri <bdashore3@proton.me>
28 lines
534 B
Swift
28 lines
534 B
Swift
//
|
|
// KodiServer+CoreDataProperties.swift
|
|
// Ferrite
|
|
//
|
|
// Created by Brian Dashore on 3/6/23.
|
|
//
|
|
//
|
|
|
|
import Foundation
|
|
import CoreData
|
|
|
|
|
|
extension KodiServer {
|
|
|
|
@nonobjc public class func fetchRequest() -> NSFetchRequest<KodiServer> {
|
|
return NSFetchRequest<KodiServer>(entityName: "KodiServer")
|
|
}
|
|
|
|
@NSManaged public var urlString: String
|
|
@NSManaged public var name: String
|
|
@NSManaged public var username: String?
|
|
@NSManaged public var password: String?
|
|
|
|
}
|
|
|
|
extension KodiServer : Identifiable {
|
|
|
|
}
|