Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <systeminfo.h>
Public Member Functions | |
SystemInfo (bool hasPendingRestart, bool isShuttingDown, bool supportsLibraryMonitor, qint32 webSocketPortNumber, bool canSelfRestart, bool canLaunchWebBrowser, bool hasUpdateAvailable, FFmpegLocation encoderLocation, Architecture systemArchitecture) | |
SystemInfo (const SystemInfo &other) | |
void | replaceData (SystemInfo &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
QString | localAddress () const |
Gets or sets the local address. | |
void | setLocalAddress (QString newLocalAddress) |
Gets or sets the local address. | |
bool | localAddressNull () const |
void | setLocalAddressNull () |
QString | serverName () const |
Gets or sets the name of the server. | |
void | setServerName (QString newServerName) |
Gets or sets the name of the server. | |
bool | serverNameNull () const |
void | setServerNameNull () |
QString | version () const |
Gets or sets the server version. | |
void | setVersion (QString newVersion) |
Gets or sets the server version. | |
bool | versionNull () const |
void | setVersionNull () |
QString | productName () const |
Gets or sets the product name. This is the AssemblyProduct name. | |
void | setProductName (QString newProductName) |
Gets or sets the product name. This is the AssemblyProduct name. | |
bool | productNameNull () const |
void | setProductNameNull () |
QString | operatingSystem () const |
Gets or sets the operating system. | |
void | setOperatingSystem (QString newOperatingSystem) |
Gets or sets the operating system. | |
bool | operatingSystemNull () const |
void | setOperatingSystemNull () |
QString | jellyfinId () const |
Gets or sets the id. | |
void | setJellyfinId (QString newJellyfinId) |
Gets or sets the id. | |
bool | jellyfinIdNull () const |
void | setJellyfinIdNull () |
std::optional< bool > | startupWizardCompleted () const |
Gets or sets a value indicating whether the startup wizard is completed. | |
void | setStartupWizardCompleted (std::optional< bool > newStartupWizardCompleted) |
Gets or sets a value indicating whether the startup wizard is completed. | |
bool | startupWizardCompletedNull () const |
void | setStartupWizardCompletedNull () |
QString | operatingSystemDisplayName () const |
Gets or sets the display name of the operating system. | |
void | setOperatingSystemDisplayName (QString newOperatingSystemDisplayName) |
Gets or sets the display name of the operating system. | |
bool | operatingSystemDisplayNameNull () const |
void | setOperatingSystemDisplayNameNull () |
QString | packageName () const |
Get or sets the package name. | |
void | setPackageName (QString newPackageName) |
Get or sets the package name. | |
bool | packageNameNull () const |
void | setPackageNameNull () |
bool | hasPendingRestart () const |
Gets or sets a value indicating whether this instance has pending restart. | |
void | setHasPendingRestart (bool newHasPendingRestart) |
Gets or sets a value indicating whether this instance has pending restart. | |
bool | isShuttingDown () const |
void | setIsShuttingDown (bool newIsShuttingDown) |
bool | supportsLibraryMonitor () const |
Gets or sets a value indicating whether [supports library monitor]. | |
void | setSupportsLibraryMonitor (bool newSupportsLibraryMonitor) |
Gets or sets a value indicating whether [supports library monitor]. | |
qint32 | webSocketPortNumber () const |
Gets or sets the web socket port number. | |
void | setWebSocketPortNumber (qint32 newWebSocketPortNumber) |
Gets or sets the web socket port number. | |
QList< InstallationInfo > | completedInstallations () const |
Gets or sets the completed installations. | |
void | setCompletedInstallations (QList< InstallationInfo > newCompletedInstallations) |
Gets or sets the completed installations. | |
bool | completedInstallationsNull () const |
void | setCompletedInstallationsNull () |
bool | canSelfRestart () const |
Gets or sets a value indicating whether this instance can self restart. | |
void | setCanSelfRestart (bool newCanSelfRestart) |
Gets or sets a value indicating whether this instance can self restart. | |
bool | canLaunchWebBrowser () const |
void | setCanLaunchWebBrowser (bool newCanLaunchWebBrowser) |
QString | programDataPath () const |
Gets or sets the program data path. | |
void | setProgramDataPath (QString newProgramDataPath) |
Gets or sets the program data path. | |
bool | programDataPathNull () const |
void | setProgramDataPathNull () |
QString | webPath () const |
Gets or sets the web UI resources path. | |
void | setWebPath (QString newWebPath) |
Gets or sets the web UI resources path. | |
bool | webPathNull () const |
void | setWebPathNull () |
QString | itemsByNamePath () const |
Gets or sets the items by name path. | |
void | setItemsByNamePath (QString newItemsByNamePath) |
Gets or sets the items by name path. | |
bool | itemsByNamePathNull () const |
void | setItemsByNamePathNull () |
QString | cachePath () const |
Gets or sets the cache path. | |
void | setCachePath (QString newCachePath) |
Gets or sets the cache path. | |
bool | cachePathNull () const |
void | setCachePathNull () |
QString | logPath () const |
Gets or sets the log path. | |
void | setLogPath (QString newLogPath) |
Gets or sets the log path. | |
bool | logPathNull () const |
void | setLogPathNull () |
QString | internalMetadataPath () const |
Gets or sets the internal metadata path. | |
void | setInternalMetadataPath (QString newInternalMetadataPath) |
Gets or sets the internal metadata path. | |
bool | internalMetadataPathNull () const |
void | setInternalMetadataPathNull () |
QString | transcodingTempPath () const |
Gets or sets the transcode path. | |
void | setTranscodingTempPath (QString newTranscodingTempPath) |
Gets or sets the transcode path. | |
bool | transcodingTempPathNull () const |
void | setTranscodingTempPathNull () |
bool | hasUpdateAvailable () const |
Gets or sets a value indicating whether this instance has update available. | |
void | setHasUpdateAvailable (bool newHasUpdateAvailable) |
Gets or sets a value indicating whether this instance has update available. | |
FFmpegLocation | encoderLocation () const |
void | setEncoderLocation (FFmpegLocation newEncoderLocation) |
Architecture | systemArchitecture () const |
void | setSystemArchitecture (Architecture newSystemArchitecture) |
Static Public Member Functions | |
static SystemInfo | fromJson (QJsonObject source) |
Protected Attributes | |
QString | m_localAddress |
QString | m_serverName |
QString | m_version |
QString | m_productName |
QString | m_operatingSystem |
QString | m_jellyfinId |
std::optional< bool > | m_startupWizardCompleted = std::nullopt |
QString | m_operatingSystemDisplayName |
QString | m_packageName |
bool | m_hasPendingRestart |
bool | m_isShuttingDown |
bool | m_supportsLibraryMonitor |
qint32 | m_webSocketPortNumber |
QList< InstallationInfo > | m_completedInstallations |
bool | m_canSelfRestart |
bool | m_canLaunchWebBrowser |
QString | m_programDataPath |
QString | m_webPath |
QString | m_itemsByNamePath |
QString | m_cachePath |
QString | m_logPath |
QString | m_internalMetadataPath |
QString | m_transcodingTempPath |
bool | m_hasUpdateAvailable |
FFmpegLocation | m_encoderLocation |
Architecture | m_systemArchitecture |
Jellyfin::DTO::SystemInfo::SystemInfo | ( | bool | hasPendingRestart, |
bool | isShuttingDown, | ||
bool | supportsLibraryMonitor, | ||
qint32 | webSocketPortNumber, | ||
bool | canSelfRestart, | ||
bool | canLaunchWebBrowser, | ||
bool | hasUpdateAvailable, | ||
FFmpegLocation | encoderLocation, | ||
Architecture | systemArchitecture ) |
Jellyfin::DTO::SystemInfo::SystemInfo | ( | const SystemInfo & | other | ) |
QString Jellyfin::DTO::SystemInfo::cachePath | ( | ) | const |
Gets or sets the cache path.
bool Jellyfin::DTO::SystemInfo::cachePathNull | ( | ) | const |
bool Jellyfin::DTO::SystemInfo::canLaunchWebBrowser | ( | ) | const |
bool Jellyfin::DTO::SystemInfo::canSelfRestart | ( | ) | const |
Gets or sets a value indicating whether this instance can self restart.
QList< InstallationInfo > Jellyfin::DTO::SystemInfo::completedInstallations | ( | ) | const |
Gets or sets the completed installations.
bool Jellyfin::DTO::SystemInfo::completedInstallationsNull | ( | ) | const |
FFmpegLocation Jellyfin::DTO::SystemInfo::encoderLocation | ( | ) | const |
|
static |
bool Jellyfin::DTO::SystemInfo::hasPendingRestart | ( | ) | const |
Gets or sets a value indicating whether this instance has pending restart.
bool Jellyfin::DTO::SystemInfo::hasUpdateAvailable | ( | ) | const |
Gets or sets a value indicating whether this instance has update available.
QString Jellyfin::DTO::SystemInfo::internalMetadataPath | ( | ) | const |
Gets or sets the internal metadata path.
bool Jellyfin::DTO::SystemInfo::internalMetadataPathNull | ( | ) | const |
bool Jellyfin::DTO::SystemInfo::isShuttingDown | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::itemsByNamePath | ( | ) | const |
Gets or sets the items by name path.
bool Jellyfin::DTO::SystemInfo::itemsByNamePathNull | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::jellyfinId | ( | ) | const |
Gets or sets the id.
bool Jellyfin::DTO::SystemInfo::jellyfinIdNull | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::localAddress | ( | ) | const |
Gets or sets the local address.
bool Jellyfin::DTO::SystemInfo::localAddressNull | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::logPath | ( | ) | const |
Gets or sets the log path.
bool Jellyfin::DTO::SystemInfo::logPathNull | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::operatingSystem | ( | ) | const |
Gets or sets the operating system.
QString Jellyfin::DTO::SystemInfo::operatingSystemDisplayName | ( | ) | const |
Gets or sets the display name of the operating system.
bool Jellyfin::DTO::SystemInfo::operatingSystemDisplayNameNull | ( | ) | const |
bool Jellyfin::DTO::SystemInfo::operatingSystemNull | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::packageName | ( | ) | const |
Get or sets the package name.
bool Jellyfin::DTO::SystemInfo::packageNameNull | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::productName | ( | ) | const |
Gets or sets the product name. This is the AssemblyProduct name.
bool Jellyfin::DTO::SystemInfo::productNameNull | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::programDataPath | ( | ) | const |
Gets or sets the program data path.
bool Jellyfin::DTO::SystemInfo::programDataPathNull | ( | ) | const |
void Jellyfin::DTO::SystemInfo::replaceData | ( | SystemInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
QString Jellyfin::DTO::SystemInfo::serverName | ( | ) | const |
Gets or sets the name of the server.
bool Jellyfin::DTO::SystemInfo::serverNameNull | ( | ) | const |
void Jellyfin::DTO::SystemInfo::setCachePath | ( | QString | newCachePath | ) |
Gets or sets the cache path.
void Jellyfin::DTO::SystemInfo::setCachePathNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setCanLaunchWebBrowser | ( | bool | newCanLaunchWebBrowser | ) |
void Jellyfin::DTO::SystemInfo::setCanSelfRestart | ( | bool | newCanSelfRestart | ) |
Gets or sets a value indicating whether this instance can self restart.
void Jellyfin::DTO::SystemInfo::setCompletedInstallations | ( | QList< InstallationInfo > | newCompletedInstallations | ) |
Gets or sets the completed installations.
void Jellyfin::DTO::SystemInfo::setCompletedInstallationsNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setEncoderLocation | ( | FFmpegLocation | newEncoderLocation | ) |
void Jellyfin::DTO::SystemInfo::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::SystemInfo::setHasPendingRestart | ( | bool | newHasPendingRestart | ) |
Gets or sets a value indicating whether this instance has pending restart.
void Jellyfin::DTO::SystemInfo::setHasUpdateAvailable | ( | bool | newHasUpdateAvailable | ) |
Gets or sets a value indicating whether this instance has update available.
void Jellyfin::DTO::SystemInfo::setInternalMetadataPath | ( | QString | newInternalMetadataPath | ) |
Gets or sets the internal metadata path.
void Jellyfin::DTO::SystemInfo::setInternalMetadataPathNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setIsShuttingDown | ( | bool | newIsShuttingDown | ) |
void Jellyfin::DTO::SystemInfo::setItemsByNamePath | ( | QString | newItemsByNamePath | ) |
Gets or sets the items by name path.
void Jellyfin::DTO::SystemInfo::setItemsByNamePathNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setJellyfinId | ( | QString | newJellyfinId | ) |
Gets or sets the id.
void Jellyfin::DTO::SystemInfo::setJellyfinIdNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setLocalAddress | ( | QString | newLocalAddress | ) |
Gets or sets the local address.
void Jellyfin::DTO::SystemInfo::setLocalAddressNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setLogPath | ( | QString | newLogPath | ) |
Gets or sets the log path.
void Jellyfin::DTO::SystemInfo::setLogPathNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setOperatingSystem | ( | QString | newOperatingSystem | ) |
Gets or sets the operating system.
void Jellyfin::DTO::SystemInfo::setOperatingSystemDisplayName | ( | QString | newOperatingSystemDisplayName | ) |
Gets or sets the display name of the operating system.
void Jellyfin::DTO::SystemInfo::setOperatingSystemDisplayNameNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setOperatingSystemNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setPackageName | ( | QString | newPackageName | ) |
Get or sets the package name.
void Jellyfin::DTO::SystemInfo::setPackageNameNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setProductName | ( | QString | newProductName | ) |
Gets or sets the product name. This is the AssemblyProduct name.
void Jellyfin::DTO::SystemInfo::setProductNameNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setProgramDataPath | ( | QString | newProgramDataPath | ) |
Gets or sets the program data path.
void Jellyfin::DTO::SystemInfo::setProgramDataPathNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setServerName | ( | QString | newServerName | ) |
Gets or sets the name of the server.
void Jellyfin::DTO::SystemInfo::setServerNameNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setStartupWizardCompleted | ( | std::optional< bool > | newStartupWizardCompleted | ) |
Gets or sets a value indicating whether the startup wizard is completed.
void Jellyfin::DTO::SystemInfo::setStartupWizardCompletedNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setSupportsLibraryMonitor | ( | bool | newSupportsLibraryMonitor | ) |
Gets or sets a value indicating whether [supports library monitor].
void Jellyfin::DTO::SystemInfo::setSystemArchitecture | ( | Architecture | newSystemArchitecture | ) |
void Jellyfin::DTO::SystemInfo::setTranscodingTempPath | ( | QString | newTranscodingTempPath | ) |
Gets or sets the transcode path.
void Jellyfin::DTO::SystemInfo::setTranscodingTempPathNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setVersion | ( | QString | newVersion | ) |
Gets or sets the server version.
void Jellyfin::DTO::SystemInfo::setVersionNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setWebPath | ( | QString | newWebPath | ) |
Gets or sets the web UI resources path.
void Jellyfin::DTO::SystemInfo::setWebPathNull | ( | ) |
void Jellyfin::DTO::SystemInfo::setWebSocketPortNumber | ( | qint32 | newWebSocketPortNumber | ) |
Gets or sets the web socket port number.
std::optional< bool > Jellyfin::DTO::SystemInfo::startupWizardCompleted | ( | ) | const |
Gets or sets a value indicating whether the startup wizard is completed.
bool Jellyfin::DTO::SystemInfo::startupWizardCompletedNull | ( | ) | const |
bool Jellyfin::DTO::SystemInfo::supportsLibraryMonitor | ( | ) | const |
Gets or sets a value indicating whether [supports library monitor].
Architecture Jellyfin::DTO::SystemInfo::systemArchitecture | ( | ) | const |
QJsonObject Jellyfin::DTO::SystemInfo::toJson | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::transcodingTempPath | ( | ) | const |
Gets or sets the transcode path.
bool Jellyfin::DTO::SystemInfo::transcodingTempPathNull | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::version | ( | ) | const |
Gets or sets the server version.
bool Jellyfin::DTO::SystemInfo::versionNull | ( | ) | const |
QString Jellyfin::DTO::SystemInfo::webPath | ( | ) | const |
Gets or sets the web UI resources path.
bool Jellyfin::DTO::SystemInfo::webPathNull | ( | ) | const |
qint32 Jellyfin::DTO::SystemInfo::webSocketPortNumber | ( | ) | const |
Gets or sets the web socket port number.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |