![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <deviceprofile.h>
Public Member Functions | |
| DeviceProfile (QList< DirectPlayProfile > directPlayProfiles, QList< TranscodingProfile > transcodingProfiles, QList< ContainerProfile > containerProfiles, QList< CodecProfile > codecProfiles, QList< SubtitleProfile > subtitleProfiles) | |
| DeviceProfile (const DeviceProfile &other) | |
| void | replaceData (DeviceProfile &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | name () const |
| Gets or sets the name of this device profile. User profiles must have a unique name. | |
| void | setName (QString newName) |
| Gets or sets the name of this device profile. User profiles must have a unique name. | |
| bool | nameNull () const |
| void | setNameNull () |
| QString | jellyfinId () const |
| Gets or sets the unique internal identifier. | |
| void | setJellyfinId (QString newJellyfinId) |
| Gets or sets the unique internal identifier. | |
| bool | jellyfinIdNull () const |
| void | setJellyfinIdNull () |
| std::optional< qint32 > | maxStreamingBitrate () const |
| Gets or sets the maximum allowed bitrate for all streamed content. | |
| void | setMaxStreamingBitrate (std::optional< qint32 > newMaxStreamingBitrate) |
| Gets or sets the maximum allowed bitrate for all streamed content. | |
| bool | maxStreamingBitrateNull () const |
| void | setMaxStreamingBitrateNull () |
| std::optional< qint32 > | maxStaticBitrate () const |
| Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files). | |
| void | setMaxStaticBitrate (std::optional< qint32 > newMaxStaticBitrate) |
| Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files). | |
| bool | maxStaticBitrateNull () const |
| void | setMaxStaticBitrateNull () |
| std::optional< qint32 > | musicStreamingTranscodingBitrate () const |
| Gets or sets the maximum allowed bitrate for transcoded music streams. | |
| void | setMusicStreamingTranscodingBitrate (std::optional< qint32 > newMusicStreamingTranscodingBitrate) |
| Gets or sets the maximum allowed bitrate for transcoded music streams. | |
| bool | musicStreamingTranscodingBitrateNull () const |
| void | setMusicStreamingTranscodingBitrateNull () |
| std::optional< qint32 > | maxStaticMusicBitrate () const |
| Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files. | |
| void | setMaxStaticMusicBitrate (std::optional< qint32 > newMaxStaticMusicBitrate) |
| Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files. | |
| bool | maxStaticMusicBitrateNull () const |
| void | setMaxStaticMusicBitrateNull () |
| QList< DirectPlayProfile > | directPlayProfiles () const |
| Gets or sets the direct play profiles. | |
| void | setDirectPlayProfiles (QList< DirectPlayProfile > newDirectPlayProfiles) |
| Gets or sets the direct play profiles. | |
| QList< TranscodingProfile > | transcodingProfiles () const |
| Gets or sets the transcoding profiles. | |
| void | setTranscodingProfiles (QList< TranscodingProfile > newTranscodingProfiles) |
| Gets or sets the transcoding profiles. | |
| QList< ContainerProfile > | containerProfiles () const |
| Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur. | |
| void | setContainerProfiles (QList< ContainerProfile > newContainerProfiles) |
| Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur. | |
| QList< CodecProfile > | codecProfiles () const |
| Gets or sets the codec profiles. | |
| void | setCodecProfiles (QList< CodecProfile > newCodecProfiles) |
| Gets or sets the codec profiles. | |
| QList< SubtitleProfile > | subtitleProfiles () const |
| Gets or sets the subtitle profiles. | |
| void | setSubtitleProfiles (QList< SubtitleProfile > newSubtitleProfiles) |
| Gets or sets the subtitle profiles. | |
Static Public Member Functions | |
| static DeviceProfile | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_name |
| QString | m_jellyfinId |
| std::optional< qint32 > | m_maxStreamingBitrate = std::nullopt |
| std::optional< qint32 > | m_maxStaticBitrate = std::nullopt |
| std::optional< qint32 > | m_musicStreamingTranscodingBitrate = std::nullopt |
| std::optional< qint32 > | m_maxStaticMusicBitrate = std::nullopt |
| QList< DirectPlayProfile > | m_directPlayProfiles |
| QList< TranscodingProfile > | m_transcodingProfiles |
| QList< ContainerProfile > | m_containerProfiles |
| QList< CodecProfile > | m_codecProfiles |
| QList< SubtitleProfile > | m_subtitleProfiles |
| Jellyfin::DTO::DeviceProfile::DeviceProfile | ( | QList< DirectPlayProfile > | directPlayProfiles, |
| QList< TranscodingProfile > | transcodingProfiles, | ||
| QList< ContainerProfile > | containerProfiles, | ||
| QList< CodecProfile > | codecProfiles, | ||
| QList< SubtitleProfile > | subtitleProfiles ) |
| Jellyfin::DTO::DeviceProfile::DeviceProfile | ( | const DeviceProfile & | other | ) |
| QList< CodecProfile > Jellyfin::DTO::DeviceProfile::codecProfiles | ( | ) | const |
Gets or sets the codec profiles.
| QList< ContainerProfile > Jellyfin::DTO::DeviceProfile::containerProfiles | ( | ) | const |
Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur.
| QList< DirectPlayProfile > Jellyfin::DTO::DeviceProfile::directPlayProfiles | ( | ) | const |
Gets or sets the direct play profiles.
|
static |
| QString Jellyfin::DTO::DeviceProfile::jellyfinId | ( | ) | const |
Gets or sets the unique internal identifier.
| bool Jellyfin::DTO::DeviceProfile::jellyfinIdNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::DeviceProfile::maxStaticBitrate | ( | ) | const |
Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files).
| bool Jellyfin::DTO::DeviceProfile::maxStaticBitrateNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::DeviceProfile::maxStaticMusicBitrate | ( | ) | const |
Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files.
| bool Jellyfin::DTO::DeviceProfile::maxStaticMusicBitrateNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::DeviceProfile::maxStreamingBitrate | ( | ) | const |
Gets or sets the maximum allowed bitrate for all streamed content.
| bool Jellyfin::DTO::DeviceProfile::maxStreamingBitrateNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::DeviceProfile::musicStreamingTranscodingBitrate | ( | ) | const |
Gets or sets the maximum allowed bitrate for transcoded music streams.
| bool Jellyfin::DTO::DeviceProfile::musicStreamingTranscodingBitrateNull | ( | ) | const |
| QString Jellyfin::DTO::DeviceProfile::name | ( | ) | const |
Gets or sets the name of this device profile. User profiles must have a unique name.
| bool Jellyfin::DTO::DeviceProfile::nameNull | ( | ) | const |
| void Jellyfin::DTO::DeviceProfile::replaceData | ( | DeviceProfile & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::DeviceProfile::setCodecProfiles | ( | QList< CodecProfile > | newCodecProfiles | ) |
Gets or sets the codec profiles.
| void Jellyfin::DTO::DeviceProfile::setContainerProfiles | ( | QList< ContainerProfile > | newContainerProfiles | ) |
Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur.
| void Jellyfin::DTO::DeviceProfile::setDirectPlayProfiles | ( | QList< DirectPlayProfile > | newDirectPlayProfiles | ) |
Gets or sets the direct play profiles.
| void Jellyfin::DTO::DeviceProfile::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::DeviceProfile::setJellyfinId | ( | QString | newJellyfinId | ) |
Gets or sets the unique internal identifier.
| void Jellyfin::DTO::DeviceProfile::setJellyfinIdNull | ( | ) |
| void Jellyfin::DTO::DeviceProfile::setMaxStaticBitrate | ( | std::optional< qint32 > | newMaxStaticBitrate | ) |
Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files).
| void Jellyfin::DTO::DeviceProfile::setMaxStaticBitrateNull | ( | ) |
| void Jellyfin::DTO::DeviceProfile::setMaxStaticMusicBitrate | ( | std::optional< qint32 > | newMaxStaticMusicBitrate | ) |
Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files.
| void Jellyfin::DTO::DeviceProfile::setMaxStaticMusicBitrateNull | ( | ) |
| void Jellyfin::DTO::DeviceProfile::setMaxStreamingBitrate | ( | std::optional< qint32 > | newMaxStreamingBitrate | ) |
Gets or sets the maximum allowed bitrate for all streamed content.
| void Jellyfin::DTO::DeviceProfile::setMaxStreamingBitrateNull | ( | ) |
| void Jellyfin::DTO::DeviceProfile::setMusicStreamingTranscodingBitrate | ( | std::optional< qint32 > | newMusicStreamingTranscodingBitrate | ) |
Gets or sets the maximum allowed bitrate for transcoded music streams.
| void Jellyfin::DTO::DeviceProfile::setMusicStreamingTranscodingBitrateNull | ( | ) |
| void Jellyfin::DTO::DeviceProfile::setName | ( | QString | newName | ) |
Gets or sets the name of this device profile. User profiles must have a unique name.
| void Jellyfin::DTO::DeviceProfile::setNameNull | ( | ) |
| void Jellyfin::DTO::DeviceProfile::setSubtitleProfiles | ( | QList< SubtitleProfile > | newSubtitleProfiles | ) |
Gets or sets the subtitle profiles.
| void Jellyfin::DTO::DeviceProfile::setTranscodingProfiles | ( | QList< TranscodingProfile > | newTranscodingProfiles | ) |
Gets or sets the transcoding profiles.
| QList< SubtitleProfile > Jellyfin::DTO::DeviceProfile::subtitleProfiles | ( | ) | const |
Gets or sets the subtitle profiles.
| QJsonObject Jellyfin::DTO::DeviceProfile::toJson | ( | ) | const |
| QList< TranscodingProfile > Jellyfin::DTO::DeviceProfile::transcodingProfiles | ( | ) | const |
Gets or sets the transcoding profiles.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |