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

#include <subtitleoptions.h>

Public Member Functions

 SubtitleOptions (bool skipIfEmbeddedSubtitlesPresent, bool skipIfAudioTrackMatches, bool downloadMovieSubtitles, bool downloadEpisodeSubtitles, bool isOpenSubtitleVipAccount, bool requirePerfectMatch)
 SubtitleOptions (const SubtitleOptions &other)
void replaceData (SubtitleOptions &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
bool skipIfEmbeddedSubtitlesPresent () const
void setSkipIfEmbeddedSubtitlesPresent (bool newSkipIfEmbeddedSubtitlesPresent)
bool skipIfAudioTrackMatches () const
void setSkipIfAudioTrackMatches (bool newSkipIfAudioTrackMatches)
QStringList downloadLanguages () const
void setDownloadLanguages (QStringList newDownloadLanguages)
bool downloadLanguagesNull () const
void setDownloadLanguagesNull ()
bool downloadMovieSubtitles () const
void setDownloadMovieSubtitles (bool newDownloadMovieSubtitles)
bool downloadEpisodeSubtitles () const
void setDownloadEpisodeSubtitles (bool newDownloadEpisodeSubtitles)
QString openSubtitlesUsername () const
void setOpenSubtitlesUsername (QString newOpenSubtitlesUsername)
bool openSubtitlesUsernameNull () const
void setOpenSubtitlesUsernameNull ()
QString openSubtitlesPasswordHash () const
void setOpenSubtitlesPasswordHash (QString newOpenSubtitlesPasswordHash)
bool openSubtitlesPasswordHashNull () const
void setOpenSubtitlesPasswordHashNull ()
bool isOpenSubtitleVipAccount () const
void setIsOpenSubtitleVipAccount (bool newIsOpenSubtitleVipAccount)
bool requirePerfectMatch () const
void setRequirePerfectMatch (bool newRequirePerfectMatch)

Static Public Member Functions

static SubtitleOptions fromJson (QJsonObject source)

Protected Attributes

bool m_skipIfEmbeddedSubtitlesPresent
bool m_skipIfAudioTrackMatches
QStringList m_downloadLanguages
bool m_downloadMovieSubtitles
bool m_downloadEpisodeSubtitles
QString m_openSubtitlesUsername
QString m_openSubtitlesPasswordHash
bool m_isOpenSubtitleVipAccount
bool m_requirePerfectMatch

Constructor & Destructor Documentation

◆ SubtitleOptions() [1/2]

Jellyfin::DTO::SubtitleOptions::SubtitleOptions ( bool skipIfEmbeddedSubtitlesPresent,
bool skipIfAudioTrackMatches,
bool downloadMovieSubtitles,
bool downloadEpisodeSubtitles,
bool isOpenSubtitleVipAccount,
bool requirePerfectMatch )

◆ SubtitleOptions() [2/2]

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

Member Function Documentation

◆ downloadEpisodeSubtitles()

bool Jellyfin::DTO::SubtitleOptions::downloadEpisodeSubtitles ( ) const

◆ downloadLanguages()

QStringList Jellyfin::DTO::SubtitleOptions::downloadLanguages ( ) const

◆ downloadLanguagesNull()

bool Jellyfin::DTO::SubtitleOptions::downloadLanguagesNull ( ) const

◆ downloadMovieSubtitles()

bool Jellyfin::DTO::SubtitleOptions::downloadMovieSubtitles ( ) const

◆ fromJson()

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

◆ isOpenSubtitleVipAccount()

bool Jellyfin::DTO::SubtitleOptions::isOpenSubtitleVipAccount ( ) const

◆ openSubtitlesPasswordHash()

QString Jellyfin::DTO::SubtitleOptions::openSubtitlesPasswordHash ( ) const

◆ openSubtitlesPasswordHashNull()

bool Jellyfin::DTO::SubtitleOptions::openSubtitlesPasswordHashNull ( ) const

◆ openSubtitlesUsername()

QString Jellyfin::DTO::SubtitleOptions::openSubtitlesUsername ( ) const

◆ openSubtitlesUsernameNull()

bool Jellyfin::DTO::SubtitleOptions::openSubtitlesUsernameNull ( ) const

◆ replaceData()

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

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

◆ requirePerfectMatch()

bool Jellyfin::DTO::SubtitleOptions::requirePerfectMatch ( ) const

◆ setDownloadEpisodeSubtitles()

void Jellyfin::DTO::SubtitleOptions::setDownloadEpisodeSubtitles ( bool newDownloadEpisodeSubtitles)

◆ setDownloadLanguages()

void Jellyfin::DTO::SubtitleOptions::setDownloadLanguages ( QStringList newDownloadLanguages)

◆ setDownloadLanguagesNull()

void Jellyfin::DTO::SubtitleOptions::setDownloadLanguagesNull ( )

◆ setDownloadMovieSubtitles()

void Jellyfin::DTO::SubtitleOptions::setDownloadMovieSubtitles ( bool newDownloadMovieSubtitles)

◆ setFromJson()

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

◆ setIsOpenSubtitleVipAccount()

void Jellyfin::DTO::SubtitleOptions::setIsOpenSubtitleVipAccount ( bool newIsOpenSubtitleVipAccount)

◆ setOpenSubtitlesPasswordHash()

void Jellyfin::DTO::SubtitleOptions::setOpenSubtitlesPasswordHash ( QString newOpenSubtitlesPasswordHash)

◆ setOpenSubtitlesPasswordHashNull()

void Jellyfin::DTO::SubtitleOptions::setOpenSubtitlesPasswordHashNull ( )

◆ setOpenSubtitlesUsername()

void Jellyfin::DTO::SubtitleOptions::setOpenSubtitlesUsername ( QString newOpenSubtitlesUsername)

◆ setOpenSubtitlesUsernameNull()

void Jellyfin::DTO::SubtitleOptions::setOpenSubtitlesUsernameNull ( )

◆ setRequirePerfectMatch()

void Jellyfin::DTO::SubtitleOptions::setRequirePerfectMatch ( bool newRequirePerfectMatch)

◆ setSkipIfAudioTrackMatches()

void Jellyfin::DTO::SubtitleOptions::setSkipIfAudioTrackMatches ( bool newSkipIfAudioTrackMatches)

◆ setSkipIfEmbeddedSubtitlesPresent()

void Jellyfin::DTO::SubtitleOptions::setSkipIfEmbeddedSubtitlesPresent ( bool newSkipIfEmbeddedSubtitlesPresent)

◆ skipIfAudioTrackMatches()

bool Jellyfin::DTO::SubtitleOptions::skipIfAudioTrackMatches ( ) const

◆ skipIfEmbeddedSubtitlesPresent()

bool Jellyfin::DTO::SubtitleOptions::skipIfEmbeddedSubtitlesPresent ( ) const

◆ toJson()

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

Member Data Documentation

◆ m_downloadEpisodeSubtitles

bool Jellyfin::DTO::SubtitleOptions::m_downloadEpisodeSubtitles
protected

◆ m_downloadLanguages

QStringList Jellyfin::DTO::SubtitleOptions::m_downloadLanguages
protected

◆ m_downloadMovieSubtitles

bool Jellyfin::DTO::SubtitleOptions::m_downloadMovieSubtitles
protected

◆ m_isOpenSubtitleVipAccount

bool Jellyfin::DTO::SubtitleOptions::m_isOpenSubtitleVipAccount
protected

◆ m_openSubtitlesPasswordHash

QString Jellyfin::DTO::SubtitleOptions::m_openSubtitlesPasswordHash
protected

◆ m_openSubtitlesUsername

QString Jellyfin::DTO::SubtitleOptions::m_openSubtitlesUsername
protected

◆ m_requirePerfectMatch

bool Jellyfin::DTO::SubtitleOptions::m_requirePerfectMatch
protected

◆ m_skipIfAudioTrackMatches

bool Jellyfin::DTO::SubtitleOptions::m_skipIfAudioTrackMatches
protected

◆ m_skipIfEmbeddedSubtitlesPresent

bool Jellyfin::DTO::SubtitleOptions::m_skipIfEmbeddedSubtitlesPresent
protected

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