trait MythService extends BackendService
- Alphabetic
- By Inheritance
- MythService
- BackendService
- Service
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def addStorageGroupDir(storageGroup: String, dirName: String, hostName: String): ServiceResult[Boolean]
- abstract def backupDatabase(): ServiceResult[Boolean]
- abstract def changePassword(userName: String, oldPassword: String, newPassword: String): ServiceResult[Boolean]
Changes password stored at HTTP/Protected/Password, used for some services? URLs, specified by HTTP/Protected/Urls ? See libs/libmythupnp/httprequest.cpp for more info.
Changes password stored at HTTP/Protected/Password, used for some services? URLs, specified by HTTP/Protected/Urls ? See libs/libmythupnp/httprequest.cpp for more info.
This API appears to be useless, at least in 0.28, as nothing seems to use this password, and I can't find a way to set the initial value other than editing the database directly.
- abstract def checkDatabase(repair: Boolean = false): ServiceResult[Boolean]
- abstract def endpoints: Map[String, ServiceEndpoint]
- Definition Classes
- Service
- abstract def getBackendInfo: ServiceResult[BackendDetails]
- abstract def getConnectionInfo(pin: String): ServiceResult[ConnectionInfo]
- abstract def getFormatDate(dateTime: MythDateTime, shortDate: Boolean = false): ServiceResult[String]
- abstract def getFormatDateTime(dateTime: MythDateTime, shortDate: Boolean = false): ServiceResult[String]
- abstract def getFormatTime(dateTime: MythDateTime): ServiceResult[String]
- abstract def getFrontends(onlyOnline: Boolean): ServiceResult[List[KnownFrontendInfo]]
- abstract def getHostName: ServiceResult[String]
- abstract def getHosts: ServiceResult[List[String]]
- abstract def getKeys: ServiceResult[List[String]]
- abstract def getLogApplications: ServiceResult[List[String]]
- abstract def getLogHostNames: ServiceResult[List[String]]
- abstract def getLogs(hostName: String, application: String, pid: Int = 0, tid: Int = 0, thread: String = "", filename: String = "", lineNumber: Int = 0, function: String = "", fromTime: Instant = Instant.MAX, toTime: Instant = Instant.MIN, level: String = "", msgContains: String = ""): ServiceResult[List[LogMessage]]
Retrieve log entries from the database.
Retrieve log entries from the database.
If logging to the database is not configured, then there will be no entries to return. Starting with MythTV 0.27, if database logging is desired it must be enabled using the --enable-dblog argument to mythbackend.
All parameters are optional and allow for filtering the log messages to only those of interest.
- abstract def getSetting(hostname: String, key: String): ServiceResult[String]
- abstract def getSettingList(hostName: String = ""): ServiceResult[Settings]
- abstract def getStorageGroupDirs(hostName: String = "", groupName: String = ""): ServiceResult[List[StorageGroupDir]]
- abstract def getTimeZone: ServiceResult[TimeZoneInfo]
- abstract def parseIsoDateString(dateTimeString: String): ServiceResult[MythDateTime]
- abstract def profileDelete(): ServiceResult[Boolean]
- abstract def profileSubmit(): ServiceResult[Boolean]
- abstract def profileText(): ServiceResult[String]
- abstract def profileUpdated: ServiceResult[String]
- abstract def profileUrl: ServiceResult[URI]
- abstract def putSetting(hostName: String, key: String, value: String): ServiceResult[Boolean]
- abstract def removeStorageGroupDir(storageGroup: String, dirName: String, hostName: String): ServiceResult[Boolean]
- abstract def sendMessage(message: String, address: String = "", udpPort: Int = 0, timeout: Duration = Duration.ZERO): ServiceResult[Boolean]
- abstract def sendNotification(message: String, origin: String = "", description: String = "", extra: String = "", progressText: String = "", progress: Float = 0f, fullScreen: Boolean = false, timeout: Duration = Duration.ZERO, notifyType: NotificationType = NotificationType.New, priority: NotificationPriority = NotificationPriority.Default, visibility: NotificationVisibility = NotificationVisibility.All, address: String = "", udpPort: Int = 0): ServiceResult[Boolean]
- abstract def testDbSettings(hostName: String, userName: String, password: String, dbName: String = "", dbPort: Int = 0): ServiceResult[Boolean]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getFrontends: ServiceResult[List[KnownFrontendInfo]]
- def getSetting(key: String): ServiceResult[String]
Query a global MythTV setting.
Query a global MythTV setting.
A global setting is stored in the database with NULL as the hostname.
- key
the key name of the global setting to query
- returns
the value of the setting, or None if not found
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def removeStorageGroupDir(dir: StorageGroupDir): ServiceResult[Boolean]
- final def serviceName: String
- Definition Classes
- MythService → Service
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated