![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <networkconfiguration.h>
Public Member Functions | |
| NetworkConfiguration (QString baseUrl, bool enableHttps, bool requireHttps, QString certificatePath, QString certificatePassword, qint32 internalHttpPort, qint32 internalHttpsPort, qint32 publicHttpPort, qint32 publicHttpsPort, bool autoDiscovery, bool enableUPnP, bool enableIPv4, bool enableIPv6, bool enableRemoteAccess, QStringList localNetworkSubnets, QStringList localNetworkAddresses, QStringList knownProxies, bool ignoreVirtualInterfaces, QStringList virtualInterfaceNames, bool enablePublishedServerUriByRequest, QStringList publishedServerUriBySubnet, QStringList remoteIPFilter, bool isRemoteIPFilterBlacklist) | |
| NetworkConfiguration (const NetworkConfiguration &other) | |
| void | replaceData (NetworkConfiguration &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | baseUrl () const |
| Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. | |
| void | setBaseUrl (QString newBaseUrl) |
| Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. | |
| bool | enableHttps () const |
| Gets or sets a value indicating whether to use HTTPS. | |
| void | setEnableHttps (bool newEnableHttps) |
| Gets or sets a value indicating whether to use HTTPS. | |
| bool | requireHttps () const |
| Gets or sets a value indicating whether the server should force connections over HTTPS. | |
| void | setRequireHttps (bool newRequireHttps) |
| Gets or sets a value indicating whether the server should force connections over HTTPS. | |
| QString | certificatePath () const |
| Gets or sets the filesystem path of an X.509 certificate to use for SSL. | |
| void | setCertificatePath (QString newCertificatePath) |
| Gets or sets the filesystem path of an X.509 certificate to use for SSL. | |
| QString | certificatePassword () const |
| Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath. | |
| void | setCertificatePassword (QString newCertificatePassword) |
| Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath. | |
| qint32 | internalHttpPort () const |
| Gets or sets the internal HTTP server port. | |
| void | setInternalHttpPort (qint32 newInternalHttpPort) |
| Gets or sets the internal HTTP server port. | |
| qint32 | internalHttpsPort () const |
| Gets or sets the internal HTTPS server port. | |
| void | setInternalHttpsPort (qint32 newInternalHttpsPort) |
| Gets or sets the internal HTTPS server port. | |
| qint32 | publicHttpPort () const |
| Gets or sets the public HTTP port. | |
| void | setPublicHttpPort (qint32 newPublicHttpPort) |
| Gets or sets the public HTTP port. | |
| qint32 | publicHttpsPort () const |
| Gets or sets the public HTTPS port. | |
| void | setPublicHttpsPort (qint32 newPublicHttpsPort) |
| Gets or sets the public HTTPS port. | |
| bool | autoDiscovery () const |
| Gets or sets a value indicating whether Autodiscovery is enabled. | |
| void | setAutoDiscovery (bool newAutoDiscovery) |
| Gets or sets a value indicating whether Autodiscovery is enabled. | |
| bool | enableUPnP () const |
| Gets or sets a value indicating whether to enable automatic port forwarding. | |
| void | setEnableUPnP (bool newEnableUPnP) |
| Gets or sets a value indicating whether to enable automatic port forwarding. | |
| bool | enableIPv4 () const |
| Gets or sets a value indicating whether IPv6 is enabled. | |
| void | setEnableIPv4 (bool newEnableIPv4) |
| Gets or sets a value indicating whether IPv6 is enabled. | |
| bool | enableIPv6 () const |
| Gets or sets a value indicating whether IPv6 is enabled. | |
| void | setEnableIPv6 (bool newEnableIPv6) |
| Gets or sets a value indicating whether IPv6 is enabled. | |
| bool | enableRemoteAccess () const |
| Gets or sets a value indicating whether access from outside of the LAN is permitted. | |
| void | setEnableRemoteAccess (bool newEnableRemoteAccess) |
| Gets or sets a value indicating whether access from outside of the LAN is permitted. | |
| QStringList | localNetworkSubnets () const |
| Gets or sets the subnets that are deemed to make up the LAN. | |
| void | setLocalNetworkSubnets (QStringList newLocalNetworkSubnets) |
| Gets or sets the subnets that are deemed to make up the LAN. | |
| QStringList | localNetworkAddresses () const |
| Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used. | |
| void | setLocalNetworkAddresses (QStringList newLocalNetworkAddresses) |
| Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used. | |
| QStringList | knownProxies () const |
| Gets or sets the known proxies. | |
| void | setKnownProxies (QStringList newKnownProxies) |
| Gets or sets the known proxies. | |
| bool | ignoreVirtualInterfaces () const |
| Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding. | |
| void | setIgnoreVirtualInterfaces (bool newIgnoreVirtualInterfaces) |
| Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding. | |
| QStringList | virtualInterfaceNames () const |
Gets or sets a value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive.
. | |
| void | setVirtualInterfaceNames (QStringList newVirtualInterfaceNames) |
Gets or sets a value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive.
. | |
| bool | enablePublishedServerUriByRequest () const |
| Gets or sets a value indicating whether the published server uri is based on information in HTTP requests. | |
| void | setEnablePublishedServerUriByRequest (bool newEnablePublishedServerUriByRequest) |
| Gets or sets a value indicating whether the published server uri is based on information in HTTP requests. | |
| QStringList | publishedServerUriBySubnet () const |
| void | setPublishedServerUriBySubnet (QStringList newPublishedServerUriBySubnet) |
| QStringList | remoteIPFilter () const |
Gets or sets the filter for remote IP connectivity. Used in conjunction with
. | |
| void | setRemoteIPFilter (QStringList newRemoteIPFilter) |
Gets or sets the filter for remote IP connectivity. Used in conjunction with
. | |
| bool | isRemoteIPFilterBlacklist () const |
Gets or sets a value indicating whether
contains a blacklist or a whitelist. Default is a whitelist. | |
| void | setIsRemoteIPFilterBlacklist (bool newIsRemoteIPFilterBlacklist) |
Gets or sets a value indicating whether
contains a blacklist or a whitelist. Default is a whitelist. | |
Static Public Member Functions | |
| static NetworkConfiguration | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_baseUrl |
| bool | m_enableHttps |
| bool | m_requireHttps |
| QString | m_certificatePath |
| QString | m_certificatePassword |
| qint32 | m_internalHttpPort |
| qint32 | m_internalHttpsPort |
| qint32 | m_publicHttpPort |
| qint32 | m_publicHttpsPort |
| bool | m_autoDiscovery |
| bool | m_enableUPnP |
| bool | m_enableIPv4 |
| bool | m_enableIPv6 |
| bool | m_enableRemoteAccess |
| QStringList | m_localNetworkSubnets |
| QStringList | m_localNetworkAddresses |
| QStringList | m_knownProxies |
| bool | m_ignoreVirtualInterfaces |
| QStringList | m_virtualInterfaceNames |
| bool | m_enablePublishedServerUriByRequest |
| QStringList | m_publishedServerUriBySubnet |
| QStringList | m_remoteIPFilter |
| bool | m_isRemoteIPFilterBlacklist |
| Jellyfin::DTO::NetworkConfiguration::NetworkConfiguration | ( | QString | baseUrl, |
| bool | enableHttps, | ||
| bool | requireHttps, | ||
| QString | certificatePath, | ||
| QString | certificatePassword, | ||
| qint32 | internalHttpPort, | ||
| qint32 | internalHttpsPort, | ||
| qint32 | publicHttpPort, | ||
| qint32 | publicHttpsPort, | ||
| bool | autoDiscovery, | ||
| bool | enableUPnP, | ||
| bool | enableIPv4, | ||
| bool | enableIPv6, | ||
| bool | enableRemoteAccess, | ||
| QStringList | localNetworkSubnets, | ||
| QStringList | localNetworkAddresses, | ||
| QStringList | knownProxies, | ||
| bool | ignoreVirtualInterfaces, | ||
| QStringList | virtualInterfaceNames, | ||
| bool | enablePublishedServerUriByRequest, | ||
| QStringList | publishedServerUriBySubnet, | ||
| QStringList | remoteIPFilter, | ||
| bool | isRemoteIPFilterBlacklist ) |
| Jellyfin::DTO::NetworkConfiguration::NetworkConfiguration | ( | const NetworkConfiguration & | other | ) |
| bool Jellyfin::DTO::NetworkConfiguration::autoDiscovery | ( | ) | const |
Gets or sets a value indicating whether Autodiscovery is enabled.
| QString Jellyfin::DTO::NetworkConfiguration::baseUrl | ( | ) | const |
Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at.
| QString Jellyfin::DTO::NetworkConfiguration::certificatePassword | ( | ) | const |
Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath.
| QString Jellyfin::DTO::NetworkConfiguration::certificatePath | ( | ) | const |
Gets or sets the filesystem path of an X.509 certificate to use for SSL.
| bool Jellyfin::DTO::NetworkConfiguration::enableHttps | ( | ) | const |
Gets or sets a value indicating whether to use HTTPS.
| bool Jellyfin::DTO::NetworkConfiguration::enableIPv4 | ( | ) | const |
Gets or sets a value indicating whether IPv6 is enabled.
| bool Jellyfin::DTO::NetworkConfiguration::enableIPv6 | ( | ) | const |
Gets or sets a value indicating whether IPv6 is enabled.
| bool Jellyfin::DTO::NetworkConfiguration::enablePublishedServerUriByRequest | ( | ) | const |
Gets or sets a value indicating whether the published server uri is based on information in HTTP requests.
| bool Jellyfin::DTO::NetworkConfiguration::enableRemoteAccess | ( | ) | const |
Gets or sets a value indicating whether access from outside of the LAN is permitted.
| bool Jellyfin::DTO::NetworkConfiguration::enableUPnP | ( | ) | const |
Gets or sets a value indicating whether to enable automatic port forwarding.
|
static |
| bool Jellyfin::DTO::NetworkConfiguration::ignoreVirtualInterfaces | ( | ) | const |
Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding.
| qint32 Jellyfin::DTO::NetworkConfiguration::internalHttpPort | ( | ) | const |
Gets or sets the internal HTTP server port.
| qint32 Jellyfin::DTO::NetworkConfiguration::internalHttpsPort | ( | ) | const |
Gets or sets the internal HTTPS server port.
| bool Jellyfin::DTO::NetworkConfiguration::isRemoteIPFilterBlacklist | ( | ) | const |
Gets or sets a value indicating whether
contains a blacklist or a whitelist. Default is a whitelist.
| QStringList Jellyfin::DTO::NetworkConfiguration::knownProxies | ( | ) | const |
Gets or sets the known proxies.
| QStringList Jellyfin::DTO::NetworkConfiguration::localNetworkAddresses | ( | ) | const |
Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used.
| QStringList Jellyfin::DTO::NetworkConfiguration::localNetworkSubnets | ( | ) | const |
Gets or sets the subnets that are deemed to make up the LAN.
| qint32 Jellyfin::DTO::NetworkConfiguration::publicHttpPort | ( | ) | const |
Gets or sets the public HTTP port.
| qint32 Jellyfin::DTO::NetworkConfiguration::publicHttpsPort | ( | ) | const |
Gets or sets the public HTTPS port.
| QStringList Jellyfin::DTO::NetworkConfiguration::publishedServerUriBySubnet | ( | ) | const |
@brief Gets or sets the PublishedServerUriBySubnet
Gets or sets PublishedServerUri to advertise for specific subnets.
| QStringList Jellyfin::DTO::NetworkConfiguration::remoteIPFilter | ( | ) | const |
Gets or sets the filter for remote IP connectivity. Used in conjunction with
.
| void Jellyfin::DTO::NetworkConfiguration::replaceData | ( | NetworkConfiguration & | other | ) |
Replaces the data being hold by this class with that of the other.
| bool Jellyfin::DTO::NetworkConfiguration::requireHttps | ( | ) | const |
Gets or sets a value indicating whether the server should force connections over HTTPS.
| void Jellyfin::DTO::NetworkConfiguration::setAutoDiscovery | ( | bool | newAutoDiscovery | ) |
Gets or sets a value indicating whether Autodiscovery is enabled.
| void Jellyfin::DTO::NetworkConfiguration::setBaseUrl | ( | QString | newBaseUrl | ) |
Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at.
| void Jellyfin::DTO::NetworkConfiguration::setCertificatePassword | ( | QString | newCertificatePassword | ) |
Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath.
| void Jellyfin::DTO::NetworkConfiguration::setCertificatePath | ( | QString | newCertificatePath | ) |
Gets or sets the filesystem path of an X.509 certificate to use for SSL.
| void Jellyfin::DTO::NetworkConfiguration::setEnableHttps | ( | bool | newEnableHttps | ) |
Gets or sets a value indicating whether to use HTTPS.
| void Jellyfin::DTO::NetworkConfiguration::setEnableIPv4 | ( | bool | newEnableIPv4 | ) |
Gets or sets a value indicating whether IPv6 is enabled.
| void Jellyfin::DTO::NetworkConfiguration::setEnableIPv6 | ( | bool | newEnableIPv6 | ) |
Gets or sets a value indicating whether IPv6 is enabled.
| void Jellyfin::DTO::NetworkConfiguration::setEnablePublishedServerUriByRequest | ( | bool | newEnablePublishedServerUriByRequest | ) |
Gets or sets a value indicating whether the published server uri is based on information in HTTP requests.
| void Jellyfin::DTO::NetworkConfiguration::setEnableRemoteAccess | ( | bool | newEnableRemoteAccess | ) |
Gets or sets a value indicating whether access from outside of the LAN is permitted.
| void Jellyfin::DTO::NetworkConfiguration::setEnableUPnP | ( | bool | newEnableUPnP | ) |
Gets or sets a value indicating whether to enable automatic port forwarding.
| void Jellyfin::DTO::NetworkConfiguration::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::NetworkConfiguration::setIgnoreVirtualInterfaces | ( | bool | newIgnoreVirtualInterfaces | ) |
Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding.
| void Jellyfin::DTO::NetworkConfiguration::setInternalHttpPort | ( | qint32 | newInternalHttpPort | ) |
Gets or sets the internal HTTP server port.
| void Jellyfin::DTO::NetworkConfiguration::setInternalHttpsPort | ( | qint32 | newInternalHttpsPort | ) |
Gets or sets the internal HTTPS server port.
| void Jellyfin::DTO::NetworkConfiguration::setIsRemoteIPFilterBlacklist | ( | bool | newIsRemoteIPFilterBlacklist | ) |
Gets or sets a value indicating whether
contains a blacklist or a whitelist. Default is a whitelist.
| void Jellyfin::DTO::NetworkConfiguration::setKnownProxies | ( | QStringList | newKnownProxies | ) |
Gets or sets the known proxies.
| void Jellyfin::DTO::NetworkConfiguration::setLocalNetworkAddresses | ( | QStringList | newLocalNetworkAddresses | ) |
Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used.
| void Jellyfin::DTO::NetworkConfiguration::setLocalNetworkSubnets | ( | QStringList | newLocalNetworkSubnets | ) |
Gets or sets the subnets that are deemed to make up the LAN.
| void Jellyfin::DTO::NetworkConfiguration::setPublicHttpPort | ( | qint32 | newPublicHttpPort | ) |
Gets or sets the public HTTP port.
| void Jellyfin::DTO::NetworkConfiguration::setPublicHttpsPort | ( | qint32 | newPublicHttpsPort | ) |
Gets or sets the public HTTPS port.
| void Jellyfin::DTO::NetworkConfiguration::setPublishedServerUriBySubnet | ( | QStringList | newPublishedServerUriBySubnet | ) |
@brief Gets or sets the PublishedServerUriBySubnet
Gets or sets PublishedServerUri to advertise for specific subnets.
| void Jellyfin::DTO::NetworkConfiguration::setRemoteIPFilter | ( | QStringList | newRemoteIPFilter | ) |
Gets or sets the filter for remote IP connectivity. Used in conjunction with
.
| void Jellyfin::DTO::NetworkConfiguration::setRequireHttps | ( | bool | newRequireHttps | ) |
Gets or sets a value indicating whether the server should force connections over HTTPS.
| void Jellyfin::DTO::NetworkConfiguration::setVirtualInterfaceNames | ( | QStringList | newVirtualInterfaceNames | ) |
Gets or sets a value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive.
.
| QJsonObject Jellyfin::DTO::NetworkConfiguration::toJson | ( | ) | const |
| QStringList Jellyfin::DTO::NetworkConfiguration::virtualInterfaceNames | ( | ) | const |
Gets or sets a value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive.
.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |