Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::TranscodingInfo Class Reference

#include <transcodinginfo.h>

Public Member Functions

 TranscodingInfo (bool isVideoDirect, bool isAudioDirect)
 
 TranscodingInfo (const TranscodingInfo &other)
 
void replaceData (TranscodingInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString audioCodec () const
 
void setAudioCodec (QString newAudioCodec)
 
bool audioCodecNull () const
 
void setAudioCodecNull ()
 
QString videoCodec () const
 
void setVideoCodec (QString newVideoCodec)
 
bool videoCodecNull () const
 
void setVideoCodecNull ()
 
QString container () const
 
void setContainer (QString newContainer)
 
bool containerNull () const
 
void setContainerNull ()
 
bool isVideoDirect () const
 
void setIsVideoDirect (bool newIsVideoDirect)
 
bool isAudioDirect () const
 
void setIsAudioDirect (bool newIsAudioDirect)
 
std::optional< qint32 > bitrate () const
 
void setBitrate (std::optional< qint32 > newBitrate)
 
bool bitrateNull () const
 
void setBitrateNull ()
 
std::optional< float > framerate () const
 
void setFramerate (std::optional< float > newFramerate)
 
bool framerateNull () const
 
void setFramerateNull ()
 
std::optional< double > completionPercentage () const
 
void setCompletionPercentage (std::optional< double > newCompletionPercentage)
 
bool completionPercentageNull () const
 
void setCompletionPercentageNull ()
 
std::optional< qint32 > width () const
 
void setWidth (std::optional< qint32 > newWidth)
 
bool widthNull () const
 
void setWidthNull ()
 
std::optional< qint32 > height () const
 
void setHeight (std::optional< qint32 > newHeight)
 
bool heightNull () const
 
void setHeightNull ()
 
std::optional< qint32 > audioChannels () const
 
void setAudioChannels (std::optional< qint32 > newAudioChannels)
 
bool audioChannelsNull () const
 
void setAudioChannelsNull ()
 
QList< TranscodeReasontranscodeReasons () const
 
void setTranscodeReasons (QList< TranscodeReason > newTranscodeReasons)
 
bool transcodeReasonsNull () const
 
void setTranscodeReasonsNull ()
 

Static Public Member Functions

static TranscodingInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_audioCodec
 
QString m_videoCodec
 
QString m_container
 
bool m_isVideoDirect
 
bool m_isAudioDirect
 
std::optional< qint32 > m_bitrate = std::nullopt
 
std::optional< float > m_framerate = std::nullopt
 
std::optional< double > m_completionPercentage = std::nullopt
 
std::optional< qint32 > m_width = std::nullopt
 
std::optional< qint32 > m_height = std::nullopt
 
std::optional< qint32 > m_audioChannels = std::nullopt
 
QList< TranscodeReasonm_transcodeReasons
 

Constructor & Destructor Documentation

◆ TranscodingInfo() [1/2]

Jellyfin::DTO::TranscodingInfo::TranscodingInfo ( bool isVideoDirect,
bool isAudioDirect )

◆ TranscodingInfo() [2/2]

Jellyfin::DTO::TranscodingInfo::TranscodingInfo ( const TranscodingInfo & other)

Member Function Documentation

◆ audioChannels()

std::optional< qint32 > Jellyfin::DTO::TranscodingInfo::audioChannels ( ) const

◆ audioChannelsNull()

bool Jellyfin::DTO::TranscodingInfo::audioChannelsNull ( ) const

◆ audioCodec()

QString Jellyfin::DTO::TranscodingInfo::audioCodec ( ) const

◆ audioCodecNull()

bool Jellyfin::DTO::TranscodingInfo::audioCodecNull ( ) const

◆ bitrate()

std::optional< qint32 > Jellyfin::DTO::TranscodingInfo::bitrate ( ) const

◆ bitrateNull()

bool Jellyfin::DTO::TranscodingInfo::bitrateNull ( ) const

◆ completionPercentage()

std::optional< double > Jellyfin::DTO::TranscodingInfo::completionPercentage ( ) const

◆ completionPercentageNull()

bool Jellyfin::DTO::TranscodingInfo::completionPercentageNull ( ) const

◆ container()

QString Jellyfin::DTO::TranscodingInfo::container ( ) const

◆ containerNull()

bool Jellyfin::DTO::TranscodingInfo::containerNull ( ) const

◆ framerate()

std::optional< float > Jellyfin::DTO::TranscodingInfo::framerate ( ) const

◆ framerateNull()

bool Jellyfin::DTO::TranscodingInfo::framerateNull ( ) const

◆ fromJson()

TranscodingInfo Jellyfin::DTO::TranscodingInfo::fromJson ( QJsonObject source)
static

◆ height()

std::optional< qint32 > Jellyfin::DTO::TranscodingInfo::height ( ) const

◆ heightNull()

bool Jellyfin::DTO::TranscodingInfo::heightNull ( ) const

◆ isAudioDirect()

bool Jellyfin::DTO::TranscodingInfo::isAudioDirect ( ) const

◆ isVideoDirect()

bool Jellyfin::DTO::TranscodingInfo::isVideoDirect ( ) const

◆ replaceData()

void Jellyfin::DTO::TranscodingInfo::replaceData ( TranscodingInfo & other)

Replaces the data being hold by this class with that of the other.

◆ setAudioChannels()

void Jellyfin::DTO::TranscodingInfo::setAudioChannels ( std::optional< qint32 > newAudioChannels)

◆ setAudioChannelsNull()

void Jellyfin::DTO::TranscodingInfo::setAudioChannelsNull ( )

◆ setAudioCodec()

void Jellyfin::DTO::TranscodingInfo::setAudioCodec ( QString newAudioCodec)

◆ setAudioCodecNull()

void Jellyfin::DTO::TranscodingInfo::setAudioCodecNull ( )

◆ setBitrate()

void Jellyfin::DTO::TranscodingInfo::setBitrate ( std::optional< qint32 > newBitrate)

◆ setBitrateNull()

void Jellyfin::DTO::TranscodingInfo::setBitrateNull ( )

◆ setCompletionPercentage()

void Jellyfin::DTO::TranscodingInfo::setCompletionPercentage ( std::optional< double > newCompletionPercentage)

◆ setCompletionPercentageNull()

void Jellyfin::DTO::TranscodingInfo::setCompletionPercentageNull ( )

◆ setContainer()

void Jellyfin::DTO::TranscodingInfo::setContainer ( QString newContainer)

◆ setContainerNull()

void Jellyfin::DTO::TranscodingInfo::setContainerNull ( )

◆ setFramerate()

void Jellyfin::DTO::TranscodingInfo::setFramerate ( std::optional< float > newFramerate)

◆ setFramerateNull()

void Jellyfin::DTO::TranscodingInfo::setFramerateNull ( )

◆ setFromJson()

void Jellyfin::DTO::TranscodingInfo::setFromJson ( QJsonObject source)

◆ setHeight()

void Jellyfin::DTO::TranscodingInfo::setHeight ( std::optional< qint32 > newHeight)

◆ setHeightNull()

void Jellyfin::DTO::TranscodingInfo::setHeightNull ( )

◆ setIsAudioDirect()

void Jellyfin::DTO::TranscodingInfo::setIsAudioDirect ( bool newIsAudioDirect)

◆ setIsVideoDirect()

void Jellyfin::DTO::TranscodingInfo::setIsVideoDirect ( bool newIsVideoDirect)

◆ setTranscodeReasons()

void Jellyfin::DTO::TranscodingInfo::setTranscodeReasons ( QList< TranscodeReason > newTranscodeReasons)

◆ setTranscodeReasonsNull()

void Jellyfin::DTO::TranscodingInfo::setTranscodeReasonsNull ( )

◆ setVideoCodec()

void Jellyfin::DTO::TranscodingInfo::setVideoCodec ( QString newVideoCodec)

◆ setVideoCodecNull()

void Jellyfin::DTO::TranscodingInfo::setVideoCodecNull ( )

◆ setWidth()

void Jellyfin::DTO::TranscodingInfo::setWidth ( std::optional< qint32 > newWidth)

◆ setWidthNull()

void Jellyfin::DTO::TranscodingInfo::setWidthNull ( )

◆ toJson()

QJsonObject Jellyfin::DTO::TranscodingInfo::toJson ( ) const

◆ transcodeReasons()

QList< TranscodeReason > Jellyfin::DTO::TranscodingInfo::transcodeReasons ( ) const

◆ transcodeReasonsNull()

bool Jellyfin::DTO::TranscodingInfo::transcodeReasonsNull ( ) const

◆ videoCodec()

QString Jellyfin::DTO::TranscodingInfo::videoCodec ( ) const

◆ videoCodecNull()

bool Jellyfin::DTO::TranscodingInfo::videoCodecNull ( ) const

◆ width()

std::optional< qint32 > Jellyfin::DTO::TranscodingInfo::width ( ) const

◆ widthNull()

bool Jellyfin::DTO::TranscodingInfo::widthNull ( ) const

Member Data Documentation

◆ m_audioChannels

std::optional<qint32> Jellyfin::DTO::TranscodingInfo::m_audioChannels = std::nullopt
protected

◆ m_audioCodec

QString Jellyfin::DTO::TranscodingInfo::m_audioCodec
protected

◆ m_bitrate

std::optional<qint32> Jellyfin::DTO::TranscodingInfo::m_bitrate = std::nullopt
protected

◆ m_completionPercentage

std::optional<double> Jellyfin::DTO::TranscodingInfo::m_completionPercentage = std::nullopt
protected

◆ m_container

QString Jellyfin::DTO::TranscodingInfo::m_container
protected

◆ m_framerate

std::optional<float> Jellyfin::DTO::TranscodingInfo::m_framerate = std::nullopt
protected

◆ m_height

std::optional<qint32> Jellyfin::DTO::TranscodingInfo::m_height = std::nullopt
protected

◆ m_isAudioDirect

bool Jellyfin::DTO::TranscodingInfo::m_isAudioDirect
protected

◆ m_isVideoDirect

bool Jellyfin::DTO::TranscodingInfo::m_isVideoDirect
protected

◆ m_transcodeReasons

QList<TranscodeReason> Jellyfin::DTO::TranscodingInfo::m_transcodeReasons
protected

◆ m_videoCodec

QString Jellyfin::DTO::TranscodingInfo::m_videoCodec
protected

◆ m_width

std::optional<qint32> Jellyfin::DTO::TranscodingInfo::m_width = std::nullopt
protected

The documentation for this class was generated from the following files: