t

mythtv.services

MythService

trait MythService extends BackendService

Linear Supertypes
BackendService, Service, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MythService
  2. BackendService
  3. Service
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def addStorageGroupDir(storageGroup: String, dirName: String, hostName: String): ServiceResult[Boolean]
  2. abstract def backupDatabase(): ServiceResult[Boolean]
  3. 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.

  4. abstract def checkDatabase(repair: Boolean = false): ServiceResult[Boolean]
  5. abstract def endpoints: Map[String, ServiceEndpoint]
    Definition Classes
    Service
  6. abstract def getBackendInfo: ServiceResult[BackendDetails]
  7. abstract def getConnectionInfo(pin: String): ServiceResult[ConnectionInfo]
  8. abstract def getFormatDate(dateTime: MythDateTime, shortDate: Boolean = false): ServiceResult[String]
  9. abstract def getFormatDateTime(dateTime: MythDateTime, shortDate: Boolean = false): ServiceResult[String]
  10. abstract def getFormatTime(dateTime: MythDateTime): ServiceResult[String]
  11. abstract def getFrontends(onlyOnline: Boolean): ServiceResult[List[KnownFrontendInfo]]
  12. abstract def getHostName: ServiceResult[String]
  13. abstract def getHosts: ServiceResult[List[String]]
  14. abstract def getKeys: ServiceResult[List[String]]
  15. abstract def getLogApplications: ServiceResult[List[String]]
  16. abstract def getLogHostNames: ServiceResult[List[String]]
  17. 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.

  18. abstract def getSetting(hostname: String, key: String): ServiceResult[String]
  19. abstract def getSettingList(hostName: String = ""): ServiceResult[Settings]
  20. abstract def getStorageGroupDirs(hostName: String = "", groupName: String = ""): ServiceResult[List[StorageGroupDir]]
  21. abstract def getTimeZone: ServiceResult[TimeZoneInfo]
  22. abstract def parseIsoDateString(dateTimeString: String): ServiceResult[MythDateTime]
  23. abstract def profileDelete(): ServiceResult[Boolean]
  24. abstract def profileSubmit(): ServiceResult[Boolean]
  25. abstract def profileText(): ServiceResult[String]
  26. abstract def profileUpdated: ServiceResult[String]
  27. abstract def profileUrl: ServiceResult[URI]
  28. abstract def putSetting(hostName: String, key: String, value: String): ServiceResult[Boolean]
  29. abstract def removeStorageGroupDir(storageGroup: String, dirName: String, hostName: String): ServiceResult[Boolean]
  30. abstract def sendMessage(message: String, address: String = "", udpPort: Int = 0, timeout: Duration = Duration.ZERO): ServiceResult[Boolean]
  31. 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]
  32. abstract def testDbSettings(hostName: String, userName: String, password: String, dbName: String = "", dbPort: Int = 0): ServiceResult[Boolean]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def getFrontends: ServiceResult[List[KnownFrontendInfo]]
  10. 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

  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def removeStorageGroupDir(dir: StorageGroupDir): ServiceResult[Boolean]
  17. final def serviceName: String
    Definition Classes
    MythServiceService
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from BackendService

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped