Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <mediasourceinfo.h>
Public Member Functions | |
MediaSourceInfo (MediaProtocol protocol, MediaProtocol encoderProtocol, MediaSourceType type, bool isRemote, bool readAtNativeFramerate, bool ignoreDts, bool ignoreIndex, bool genPtsInput, bool supportsTranscoding, bool supportsDirectStream, bool supportsDirectPlay, bool isInfiniteStream, bool requiresOpening, bool requiresClosing, bool requiresLooping, bool supportsProbing, VideoType videoType, IsoType isoType, Video3DFormat video3DFormat, TransportStreamTimestamp timestamp) | |
MediaSourceInfo (const MediaSourceInfo &other) | |
void | replaceData (MediaSourceInfo &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
MediaProtocol | protocol () const |
void | setProtocol (MediaProtocol newProtocol) |
QString | jellyfinId () const |
void | setJellyfinId (QString newJellyfinId) |
bool | jellyfinIdNull () const |
void | setJellyfinIdNull () |
QString | path () const |
void | setPath (QString newPath) |
bool | pathNull () const |
void | setPathNull () |
QString | encoderPath () const |
void | setEncoderPath (QString newEncoderPath) |
bool | encoderPathNull () const |
void | setEncoderPathNull () |
MediaProtocol | encoderProtocol () const |
void | setEncoderProtocol (MediaProtocol newEncoderProtocol) |
MediaSourceType | type () const |
void | setType (MediaSourceType newType) |
QString | container () const |
void | setContainer (QString newContainer) |
bool | containerNull () const |
void | setContainerNull () |
std::optional< qint64 > | size () const |
void | setSize (std::optional< qint64 > newSize) |
bool | sizeNull () const |
void | setSizeNull () |
QString | name () const |
void | setName (QString newName) |
bool | nameNull () const |
void | setNameNull () |
bool | isRemote () const |
Differentiate internet url vs local network. | |
void | setIsRemote (bool newIsRemote) |
Differentiate internet url vs local network. | |
QString | eTag () const |
void | setETag (QString newETag) |
bool | eTagNull () const |
void | setETagNull () |
std::optional< qint64 > | runTimeTicks () const |
void | setRunTimeTicks (std::optional< qint64 > newRunTimeTicks) |
bool | runTimeTicksNull () const |
void | setRunTimeTicksNull () |
bool | readAtNativeFramerate () const |
void | setReadAtNativeFramerate (bool newReadAtNativeFramerate) |
bool | ignoreDts () const |
void | setIgnoreDts (bool newIgnoreDts) |
bool | ignoreIndex () const |
void | setIgnoreIndex (bool newIgnoreIndex) |
bool | genPtsInput () const |
void | setGenPtsInput (bool newGenPtsInput) |
bool | supportsTranscoding () const |
void | setSupportsTranscoding (bool newSupportsTranscoding) |
bool | supportsDirectStream () const |
void | setSupportsDirectStream (bool newSupportsDirectStream) |
bool | supportsDirectPlay () const |
void | setSupportsDirectPlay (bool newSupportsDirectPlay) |
bool | isInfiniteStream () const |
void | setIsInfiniteStream (bool newIsInfiniteStream) |
bool | requiresOpening () const |
void | setRequiresOpening (bool newRequiresOpening) |
QString | openToken () const |
void | setOpenToken (QString newOpenToken) |
bool | openTokenNull () const |
void | setOpenTokenNull () |
bool | requiresClosing () const |
void | setRequiresClosing (bool newRequiresClosing) |
QString | liveStreamId () const |
void | setLiveStreamId (QString newLiveStreamId) |
bool | liveStreamIdNull () const |
void | setLiveStreamIdNull () |
std::optional< qint32 > | bufferMs () const |
void | setBufferMs (std::optional< qint32 > newBufferMs) |
bool | bufferMsNull () const |
void | setBufferMsNull () |
bool | requiresLooping () const |
void | setRequiresLooping (bool newRequiresLooping) |
bool | supportsProbing () const |
void | setSupportsProbing (bool newSupportsProbing) |
VideoType | videoType () const |
void | setVideoType (VideoType newVideoType) |
IsoType | isoType () const |
void | setIsoType (IsoType newIsoType) |
Video3DFormat | video3DFormat () const |
void | setVideo3DFormat (Video3DFormat newVideo3DFormat) |
QList< MediaStream > | mediaStreams () const |
void | setMediaStreams (QList< MediaStream > newMediaStreams) |
bool | mediaStreamsNull () const |
void | setMediaStreamsNull () |
QList< MediaAttachment > | mediaAttachments () const |
void | setMediaAttachments (QList< MediaAttachment > newMediaAttachments) |
bool | mediaAttachmentsNull () const |
void | setMediaAttachmentsNull () |
QStringList | formats () const |
void | setFormats (QStringList newFormats) |
bool | formatsNull () const |
void | setFormatsNull () |
std::optional< qint32 > | bitrate () const |
void | setBitrate (std::optional< qint32 > newBitrate) |
bool | bitrateNull () const |
void | setBitrateNull () |
TransportStreamTimestamp | timestamp () const |
void | setTimestamp (TransportStreamTimestamp newTimestamp) |
QJsonObject | requiredHttpHeaders () const |
void | setRequiredHttpHeaders (QJsonObject newRequiredHttpHeaders) |
bool | requiredHttpHeadersNull () const |
void | setRequiredHttpHeadersNull () |
QString | transcodingUrl () const |
void | setTranscodingUrl (QString newTranscodingUrl) |
bool | transcodingUrlNull () const |
void | setTranscodingUrlNull () |
QString | transcodingSubProtocol () const |
void | setTranscodingSubProtocol (QString newTranscodingSubProtocol) |
bool | transcodingSubProtocolNull () const |
void | setTranscodingSubProtocolNull () |
QString | transcodingContainer () const |
void | setTranscodingContainer (QString newTranscodingContainer) |
bool | transcodingContainerNull () const |
void | setTranscodingContainerNull () |
std::optional< qint32 > | analyzeDurationMs () const |
void | setAnalyzeDurationMs (std::optional< qint32 > newAnalyzeDurationMs) |
bool | analyzeDurationMsNull () const |
void | setAnalyzeDurationMsNull () |
std::optional< qint32 > | defaultAudioStreamIndex () const |
void | setDefaultAudioStreamIndex (std::optional< qint32 > newDefaultAudioStreamIndex) |
bool | defaultAudioStreamIndexNull () const |
void | setDefaultAudioStreamIndexNull () |
std::optional< qint32 > | defaultSubtitleStreamIndex () const |
void | setDefaultSubtitleStreamIndex (std::optional< qint32 > newDefaultSubtitleStreamIndex) |
bool | defaultSubtitleStreamIndexNull () const |
void | setDefaultSubtitleStreamIndexNull () |
Static Public Member Functions | |
static MediaSourceInfo | fromJson (QJsonObject source) |
Jellyfin::DTO::MediaSourceInfo::MediaSourceInfo | ( | MediaProtocol | protocol, |
MediaProtocol | encoderProtocol, | ||
MediaSourceType | type, | ||
bool | isRemote, | ||
bool | readAtNativeFramerate, | ||
bool | ignoreDts, | ||
bool | ignoreIndex, | ||
bool | genPtsInput, | ||
bool | supportsTranscoding, | ||
bool | supportsDirectStream, | ||
bool | supportsDirectPlay, | ||
bool | isInfiniteStream, | ||
bool | requiresOpening, | ||
bool | requiresClosing, | ||
bool | requiresLooping, | ||
bool | supportsProbing, | ||
VideoType | videoType, | ||
IsoType | isoType, | ||
Video3DFormat | video3DFormat, | ||
TransportStreamTimestamp | timestamp ) |
Jellyfin::DTO::MediaSourceInfo::MediaSourceInfo | ( | const MediaSourceInfo & | other | ) |
std::optional< qint32 > Jellyfin::DTO::MediaSourceInfo::analyzeDurationMs | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::analyzeDurationMsNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::MediaSourceInfo::bitrate | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::bitrateNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::MediaSourceInfo::bufferMs | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::bufferMsNull | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::container | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::containerNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::MediaSourceInfo::defaultAudioStreamIndex | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::defaultAudioStreamIndexNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::MediaSourceInfo::defaultSubtitleStreamIndex | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::defaultSubtitleStreamIndexNull | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::encoderPath | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::encoderPathNull | ( | ) | const |
MediaProtocol Jellyfin::DTO::MediaSourceInfo::encoderProtocol | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::eTag | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::eTagNull | ( | ) | const |
QStringList Jellyfin::DTO::MediaSourceInfo::formats | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::formatsNull | ( | ) | const |
|
static |
bool Jellyfin::DTO::MediaSourceInfo::genPtsInput | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::ignoreDts | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::ignoreIndex | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::isInfiniteStream | ( | ) | const |
IsoType Jellyfin::DTO::MediaSourceInfo::isoType | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::isRemote | ( | ) | const |
Differentiate internet url vs local network.
QString Jellyfin::DTO::MediaSourceInfo::jellyfinId | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::jellyfinIdNull | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::liveStreamId | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::liveStreamIdNull | ( | ) | const |
QList< MediaAttachment > Jellyfin::DTO::MediaSourceInfo::mediaAttachments | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::mediaAttachmentsNull | ( | ) | const |
QList< MediaStream > Jellyfin::DTO::MediaSourceInfo::mediaStreams | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::mediaStreamsNull | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::name | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::nameNull | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::openToken | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::openTokenNull | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::path | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::pathNull | ( | ) | const |
MediaProtocol Jellyfin::DTO::MediaSourceInfo::protocol | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::readAtNativeFramerate | ( | ) | const |
void Jellyfin::DTO::MediaSourceInfo::replaceData | ( | MediaSourceInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
QJsonObject Jellyfin::DTO::MediaSourceInfo::requiredHttpHeaders | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::requiredHttpHeadersNull | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::requiresClosing | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::requiresLooping | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::requiresOpening | ( | ) | const |
std::optional< qint64 > Jellyfin::DTO::MediaSourceInfo::runTimeTicks | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::runTimeTicksNull | ( | ) | const |
void Jellyfin::DTO::MediaSourceInfo::setAnalyzeDurationMs | ( | std::optional< qint32 > | newAnalyzeDurationMs | ) |
void Jellyfin::DTO::MediaSourceInfo::setAnalyzeDurationMsNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setBitrate | ( | std::optional< qint32 > | newBitrate | ) |
void Jellyfin::DTO::MediaSourceInfo::setBitrateNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setBufferMs | ( | std::optional< qint32 > | newBufferMs | ) |
void Jellyfin::DTO::MediaSourceInfo::setBufferMsNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setContainer | ( | QString | newContainer | ) |
void Jellyfin::DTO::MediaSourceInfo::setContainerNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setDefaultAudioStreamIndex | ( | std::optional< qint32 > | newDefaultAudioStreamIndex | ) |
void Jellyfin::DTO::MediaSourceInfo::setDefaultAudioStreamIndexNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setDefaultSubtitleStreamIndex | ( | std::optional< qint32 > | newDefaultSubtitleStreamIndex | ) |
void Jellyfin::DTO::MediaSourceInfo::setDefaultSubtitleStreamIndexNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setEncoderPath | ( | QString | newEncoderPath | ) |
void Jellyfin::DTO::MediaSourceInfo::setEncoderPathNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setEncoderProtocol | ( | MediaProtocol | newEncoderProtocol | ) |
void Jellyfin::DTO::MediaSourceInfo::setETag | ( | QString | newETag | ) |
void Jellyfin::DTO::MediaSourceInfo::setETagNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setFormats | ( | QStringList | newFormats | ) |
void Jellyfin::DTO::MediaSourceInfo::setFormatsNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::MediaSourceInfo::setGenPtsInput | ( | bool | newGenPtsInput | ) |
void Jellyfin::DTO::MediaSourceInfo::setIgnoreDts | ( | bool | newIgnoreDts | ) |
void Jellyfin::DTO::MediaSourceInfo::setIgnoreIndex | ( | bool | newIgnoreIndex | ) |
void Jellyfin::DTO::MediaSourceInfo::setIsInfiniteStream | ( | bool | newIsInfiniteStream | ) |
void Jellyfin::DTO::MediaSourceInfo::setIsoType | ( | IsoType | newIsoType | ) |
void Jellyfin::DTO::MediaSourceInfo::setIsRemote | ( | bool | newIsRemote | ) |
Differentiate internet url vs local network.
void Jellyfin::DTO::MediaSourceInfo::setJellyfinId | ( | QString | newJellyfinId | ) |
void Jellyfin::DTO::MediaSourceInfo::setJellyfinIdNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setLiveStreamId | ( | QString | newLiveStreamId | ) |
void Jellyfin::DTO::MediaSourceInfo::setLiveStreamIdNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setMediaAttachments | ( | QList< MediaAttachment > | newMediaAttachments | ) |
void Jellyfin::DTO::MediaSourceInfo::setMediaAttachmentsNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setMediaStreams | ( | QList< MediaStream > | newMediaStreams | ) |
void Jellyfin::DTO::MediaSourceInfo::setMediaStreamsNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setName | ( | QString | newName | ) |
void Jellyfin::DTO::MediaSourceInfo::setNameNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setOpenToken | ( | QString | newOpenToken | ) |
void Jellyfin::DTO::MediaSourceInfo::setOpenTokenNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setPath | ( | QString | newPath | ) |
void Jellyfin::DTO::MediaSourceInfo::setPathNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setProtocol | ( | MediaProtocol | newProtocol | ) |
void Jellyfin::DTO::MediaSourceInfo::setReadAtNativeFramerate | ( | bool | newReadAtNativeFramerate | ) |
void Jellyfin::DTO::MediaSourceInfo::setRequiredHttpHeaders | ( | QJsonObject | newRequiredHttpHeaders | ) |
void Jellyfin::DTO::MediaSourceInfo::setRequiredHttpHeadersNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setRequiresClosing | ( | bool | newRequiresClosing | ) |
void Jellyfin::DTO::MediaSourceInfo::setRequiresLooping | ( | bool | newRequiresLooping | ) |
void Jellyfin::DTO::MediaSourceInfo::setRequiresOpening | ( | bool | newRequiresOpening | ) |
void Jellyfin::DTO::MediaSourceInfo::setRunTimeTicks | ( | std::optional< qint64 > | newRunTimeTicks | ) |
void Jellyfin::DTO::MediaSourceInfo::setRunTimeTicksNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setSize | ( | std::optional< qint64 > | newSize | ) |
void Jellyfin::DTO::MediaSourceInfo::setSizeNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setSupportsDirectPlay | ( | bool | newSupportsDirectPlay | ) |
void Jellyfin::DTO::MediaSourceInfo::setSupportsDirectStream | ( | bool | newSupportsDirectStream | ) |
void Jellyfin::DTO::MediaSourceInfo::setSupportsProbing | ( | bool | newSupportsProbing | ) |
void Jellyfin::DTO::MediaSourceInfo::setSupportsTranscoding | ( | bool | newSupportsTranscoding | ) |
void Jellyfin::DTO::MediaSourceInfo::setTimestamp | ( | TransportStreamTimestamp | newTimestamp | ) |
void Jellyfin::DTO::MediaSourceInfo::setTranscodingContainer | ( | QString | newTranscodingContainer | ) |
void Jellyfin::DTO::MediaSourceInfo::setTranscodingContainerNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setTranscodingSubProtocol | ( | QString | newTranscodingSubProtocol | ) |
void Jellyfin::DTO::MediaSourceInfo::setTranscodingSubProtocolNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setTranscodingUrl | ( | QString | newTranscodingUrl | ) |
void Jellyfin::DTO::MediaSourceInfo::setTranscodingUrlNull | ( | ) |
void Jellyfin::DTO::MediaSourceInfo::setType | ( | MediaSourceType | newType | ) |
void Jellyfin::DTO::MediaSourceInfo::setVideo3DFormat | ( | Video3DFormat | newVideo3DFormat | ) |
void Jellyfin::DTO::MediaSourceInfo::setVideoType | ( | VideoType | newVideoType | ) |
std::optional< qint64 > Jellyfin::DTO::MediaSourceInfo::size | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::sizeNull | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::supportsDirectPlay | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::supportsDirectStream | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::supportsProbing | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::supportsTranscoding | ( | ) | const |
TransportStreamTimestamp Jellyfin::DTO::MediaSourceInfo::timestamp | ( | ) | const |
QJsonObject Jellyfin::DTO::MediaSourceInfo::toJson | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::transcodingContainer | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::transcodingContainerNull | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::transcodingSubProtocol | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::transcodingSubProtocolNull | ( | ) | const |
QString Jellyfin::DTO::MediaSourceInfo::transcodingUrl | ( | ) | const |
bool Jellyfin::DTO::MediaSourceInfo::transcodingUrlNull | ( | ) | const |
MediaSourceType Jellyfin::DTO::MediaSourceInfo::type | ( | ) | const |
Video3DFormat Jellyfin::DTO::MediaSourceInfo::video3DFormat | ( | ) | const |
VideoType Jellyfin::DTO::MediaSourceInfo::videoType | ( | ) | const |
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |