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

#include <libraryoptions.h>

Public Member Functions

 LibraryOptions (bool enablePhotos, bool enableRealtimeMonitor, bool enableChapterImageExtraction, bool extractChapterImagesDuringLibraryScan, bool saveLocalMetadata, bool enableInternetProviders, bool enableAutomaticSeriesGrouping, bool enableEmbeddedTitles, bool enableEmbeddedEpisodeInfos, qint32 automaticRefreshIntervalDays, bool skipSubtitlesIfEmbeddedSubtitlesPresent, bool skipSubtitlesIfAudioTrackMatches, bool requirePerfectSubtitleMatch, bool saveSubtitlesWithMedia)
 
 LibraryOptions (const LibraryOptions &other)
 
void replaceData (LibraryOptions &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
bool enablePhotos () const
 
void setEnablePhotos (bool newEnablePhotos)
 
bool enableRealtimeMonitor () const
 
void setEnableRealtimeMonitor (bool newEnableRealtimeMonitor)
 
bool enableChapterImageExtraction () const
 
void setEnableChapterImageExtraction (bool newEnableChapterImageExtraction)
 
bool extractChapterImagesDuringLibraryScan () const
 
void setExtractChapterImagesDuringLibraryScan (bool newExtractChapterImagesDuringLibraryScan)
 
QList< MediaPathInfopathInfos () const
 
void setPathInfos (QList< MediaPathInfo > newPathInfos)
 
bool pathInfosNull () const
 
void setPathInfosNull ()
 
bool saveLocalMetadata () const
 
void setSaveLocalMetadata (bool newSaveLocalMetadata)
 
bool enableInternetProviders () const
 
void setEnableInternetProviders (bool newEnableInternetProviders)
 
bool enableAutomaticSeriesGrouping () const
 
void setEnableAutomaticSeriesGrouping (bool newEnableAutomaticSeriesGrouping)
 
bool enableEmbeddedTitles () const
 
void setEnableEmbeddedTitles (bool newEnableEmbeddedTitles)
 
bool enableEmbeddedEpisodeInfos () const
 
void setEnableEmbeddedEpisodeInfos (bool newEnableEmbeddedEpisodeInfos)
 
qint32 automaticRefreshIntervalDays () const
 
void setAutomaticRefreshIntervalDays (qint32 newAutomaticRefreshIntervalDays)
 
QString preferredMetadataLanguage () const
 Gets or sets the preferred metadata language.
 
void setPreferredMetadataLanguage (QString newPreferredMetadataLanguage)
 Gets or sets the preferred metadata language.
 
bool preferredMetadataLanguageNull () const
 
void setPreferredMetadataLanguageNull ()
 
QString metadataCountryCode () const
 Gets or sets the metadata country code.
 
void setMetadataCountryCode (QString newMetadataCountryCode)
 Gets or sets the metadata country code.
 
bool metadataCountryCodeNull () const
 
void setMetadataCountryCodeNull ()
 
QString seasonZeroDisplayName () const
 
void setSeasonZeroDisplayName (QString newSeasonZeroDisplayName)
 
bool seasonZeroDisplayNameNull () const
 
void setSeasonZeroDisplayNameNull ()
 
QStringList metadataSavers () const
 
void setMetadataSavers (QStringList newMetadataSavers)
 
bool metadataSaversNull () const
 
void setMetadataSaversNull ()
 
QStringList disabledLocalMetadataReaders () const
 
void setDisabledLocalMetadataReaders (QStringList newDisabledLocalMetadataReaders)
 
bool disabledLocalMetadataReadersNull () const
 
void setDisabledLocalMetadataReadersNull ()
 
QStringList localMetadataReaderOrder () const
 
void setLocalMetadataReaderOrder (QStringList newLocalMetadataReaderOrder)
 
bool localMetadataReaderOrderNull () const
 
void setLocalMetadataReaderOrderNull ()
 
QStringList disabledSubtitleFetchers () const
 
void setDisabledSubtitleFetchers (QStringList newDisabledSubtitleFetchers)
 
bool disabledSubtitleFetchersNull () const
 
void setDisabledSubtitleFetchersNull ()
 
QStringList subtitleFetcherOrder () const
 
void setSubtitleFetcherOrder (QStringList newSubtitleFetcherOrder)
 
bool subtitleFetcherOrderNull () const
 
void setSubtitleFetcherOrderNull ()
 
bool skipSubtitlesIfEmbeddedSubtitlesPresent () const
 
void setSkipSubtitlesIfEmbeddedSubtitlesPresent (bool newSkipSubtitlesIfEmbeddedSubtitlesPresent)
 
bool skipSubtitlesIfAudioTrackMatches () const
 
void setSkipSubtitlesIfAudioTrackMatches (bool newSkipSubtitlesIfAudioTrackMatches)
 
QStringList subtitleDownloadLanguages () const
 
void setSubtitleDownloadLanguages (QStringList newSubtitleDownloadLanguages)
 
bool subtitleDownloadLanguagesNull () const
 
void setSubtitleDownloadLanguagesNull ()
 
bool requirePerfectSubtitleMatch () const
 
void setRequirePerfectSubtitleMatch (bool newRequirePerfectSubtitleMatch)
 
bool saveSubtitlesWithMedia () const
 
void setSaveSubtitlesWithMedia (bool newSaveSubtitlesWithMedia)
 
QList< TypeOptionstypeOptions () const
 
void setTypeOptions (QList< TypeOptions > newTypeOptions)
 
bool typeOptionsNull () const
 
void setTypeOptionsNull ()
 

Static Public Member Functions

static LibraryOptions fromJson (QJsonObject source)
 

Protected Attributes

bool m_enablePhotos
 
bool m_enableRealtimeMonitor
 
bool m_enableChapterImageExtraction
 
bool m_extractChapterImagesDuringLibraryScan
 
QList< MediaPathInfom_pathInfos
 
bool m_saveLocalMetadata
 
bool m_enableInternetProviders
 
bool m_enableAutomaticSeriesGrouping
 
bool m_enableEmbeddedTitles
 
bool m_enableEmbeddedEpisodeInfos
 
qint32 m_automaticRefreshIntervalDays
 
QString m_preferredMetadataLanguage
 
QString m_metadataCountryCode
 
QString m_seasonZeroDisplayName
 
QStringList m_metadataSavers
 
QStringList m_disabledLocalMetadataReaders
 
QStringList m_localMetadataReaderOrder
 
QStringList m_disabledSubtitleFetchers
 
QStringList m_subtitleFetcherOrder
 
bool m_skipSubtitlesIfEmbeddedSubtitlesPresent
 
bool m_skipSubtitlesIfAudioTrackMatches
 
QStringList m_subtitleDownloadLanguages
 
bool m_requirePerfectSubtitleMatch
 
bool m_saveSubtitlesWithMedia
 
QList< TypeOptionsm_typeOptions
 

Constructor & Destructor Documentation

◆ LibraryOptions() [1/2]

Jellyfin::DTO::LibraryOptions::LibraryOptions ( bool enablePhotos,
bool enableRealtimeMonitor,
bool enableChapterImageExtraction,
bool extractChapterImagesDuringLibraryScan,
bool saveLocalMetadata,
bool enableInternetProviders,
bool enableAutomaticSeriesGrouping,
bool enableEmbeddedTitles,
bool enableEmbeddedEpisodeInfos,
qint32 automaticRefreshIntervalDays,
bool skipSubtitlesIfEmbeddedSubtitlesPresent,
bool skipSubtitlesIfAudioTrackMatches,
bool requirePerfectSubtitleMatch,
bool saveSubtitlesWithMedia )

◆ LibraryOptions() [2/2]

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

Member Function Documentation

◆ automaticRefreshIntervalDays()

qint32 Jellyfin::DTO::LibraryOptions::automaticRefreshIntervalDays ( ) const

◆ disabledLocalMetadataReaders()

QStringList Jellyfin::DTO::LibraryOptions::disabledLocalMetadataReaders ( ) const

◆ disabledLocalMetadataReadersNull()

bool Jellyfin::DTO::LibraryOptions::disabledLocalMetadataReadersNull ( ) const

◆ disabledSubtitleFetchers()

QStringList Jellyfin::DTO::LibraryOptions::disabledSubtitleFetchers ( ) const

◆ disabledSubtitleFetchersNull()

bool Jellyfin::DTO::LibraryOptions::disabledSubtitleFetchersNull ( ) const

◆ enableAutomaticSeriesGrouping()

bool Jellyfin::DTO::LibraryOptions::enableAutomaticSeriesGrouping ( ) const

◆ enableChapterImageExtraction()

bool Jellyfin::DTO::LibraryOptions::enableChapterImageExtraction ( ) const

◆ enableEmbeddedEpisodeInfos()

bool Jellyfin::DTO::LibraryOptions::enableEmbeddedEpisodeInfos ( ) const

◆ enableEmbeddedTitles()

bool Jellyfin::DTO::LibraryOptions::enableEmbeddedTitles ( ) const

◆ enableInternetProviders()

bool Jellyfin::DTO::LibraryOptions::enableInternetProviders ( ) const

◆ enablePhotos()

bool Jellyfin::DTO::LibraryOptions::enablePhotos ( ) const

◆ enableRealtimeMonitor()

bool Jellyfin::DTO::LibraryOptions::enableRealtimeMonitor ( ) const

◆ extractChapterImagesDuringLibraryScan()

bool Jellyfin::DTO::LibraryOptions::extractChapterImagesDuringLibraryScan ( ) const

◆ fromJson()

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

◆ localMetadataReaderOrder()

QStringList Jellyfin::DTO::LibraryOptions::localMetadataReaderOrder ( ) const

◆ localMetadataReaderOrderNull()

bool Jellyfin::DTO::LibraryOptions::localMetadataReaderOrderNull ( ) const

◆ metadataCountryCode()

QString Jellyfin::DTO::LibraryOptions::metadataCountryCode ( ) const

Gets or sets the metadata country code.

◆ metadataCountryCodeNull()

bool Jellyfin::DTO::LibraryOptions::metadataCountryCodeNull ( ) const

◆ metadataSavers()

QStringList Jellyfin::DTO::LibraryOptions::metadataSavers ( ) const

◆ metadataSaversNull()

bool Jellyfin::DTO::LibraryOptions::metadataSaversNull ( ) const

◆ pathInfos()

QList< MediaPathInfo > Jellyfin::DTO::LibraryOptions::pathInfos ( ) const

◆ pathInfosNull()

bool Jellyfin::DTO::LibraryOptions::pathInfosNull ( ) const

◆ preferredMetadataLanguage()

QString Jellyfin::DTO::LibraryOptions::preferredMetadataLanguage ( ) const

Gets or sets the preferred metadata language.

◆ preferredMetadataLanguageNull()

bool Jellyfin::DTO::LibraryOptions::preferredMetadataLanguageNull ( ) const

◆ replaceData()

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

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

◆ requirePerfectSubtitleMatch()

bool Jellyfin::DTO::LibraryOptions::requirePerfectSubtitleMatch ( ) const

◆ saveLocalMetadata()

bool Jellyfin::DTO::LibraryOptions::saveLocalMetadata ( ) const

◆ saveSubtitlesWithMedia()

bool Jellyfin::DTO::LibraryOptions::saveSubtitlesWithMedia ( ) const

◆ seasonZeroDisplayName()

QString Jellyfin::DTO::LibraryOptions::seasonZeroDisplayName ( ) const

◆ seasonZeroDisplayNameNull()

bool Jellyfin::DTO::LibraryOptions::seasonZeroDisplayNameNull ( ) const

◆ setAutomaticRefreshIntervalDays()

void Jellyfin::DTO::LibraryOptions::setAutomaticRefreshIntervalDays ( qint32 newAutomaticRefreshIntervalDays)

◆ setDisabledLocalMetadataReaders()

void Jellyfin::DTO::LibraryOptions::setDisabledLocalMetadataReaders ( QStringList newDisabledLocalMetadataReaders)

◆ setDisabledLocalMetadataReadersNull()

void Jellyfin::DTO::LibraryOptions::setDisabledLocalMetadataReadersNull ( )

◆ setDisabledSubtitleFetchers()

void Jellyfin::DTO::LibraryOptions::setDisabledSubtitleFetchers ( QStringList newDisabledSubtitleFetchers)

◆ setDisabledSubtitleFetchersNull()

void Jellyfin::DTO::LibraryOptions::setDisabledSubtitleFetchersNull ( )

◆ setEnableAutomaticSeriesGrouping()

void Jellyfin::DTO::LibraryOptions::setEnableAutomaticSeriesGrouping ( bool newEnableAutomaticSeriesGrouping)

◆ setEnableChapterImageExtraction()

void Jellyfin::DTO::LibraryOptions::setEnableChapterImageExtraction ( bool newEnableChapterImageExtraction)

◆ setEnableEmbeddedEpisodeInfos()

void Jellyfin::DTO::LibraryOptions::setEnableEmbeddedEpisodeInfos ( bool newEnableEmbeddedEpisodeInfos)

◆ setEnableEmbeddedTitles()

void Jellyfin::DTO::LibraryOptions::setEnableEmbeddedTitles ( bool newEnableEmbeddedTitles)

◆ setEnableInternetProviders()

void Jellyfin::DTO::LibraryOptions::setEnableInternetProviders ( bool newEnableInternetProviders)

◆ setEnablePhotos()

void Jellyfin::DTO::LibraryOptions::setEnablePhotos ( bool newEnablePhotos)

◆ setEnableRealtimeMonitor()

void Jellyfin::DTO::LibraryOptions::setEnableRealtimeMonitor ( bool newEnableRealtimeMonitor)

◆ setExtractChapterImagesDuringLibraryScan()

void Jellyfin::DTO::LibraryOptions::setExtractChapterImagesDuringLibraryScan ( bool newExtractChapterImagesDuringLibraryScan)

◆ setFromJson()

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

◆ setLocalMetadataReaderOrder()

void Jellyfin::DTO::LibraryOptions::setLocalMetadataReaderOrder ( QStringList newLocalMetadataReaderOrder)

◆ setLocalMetadataReaderOrderNull()

void Jellyfin::DTO::LibraryOptions::setLocalMetadataReaderOrderNull ( )

◆ setMetadataCountryCode()

void Jellyfin::DTO::LibraryOptions::setMetadataCountryCode ( QString newMetadataCountryCode)

Gets or sets the metadata country code.

◆ setMetadataCountryCodeNull()

void Jellyfin::DTO::LibraryOptions::setMetadataCountryCodeNull ( )

◆ setMetadataSavers()

void Jellyfin::DTO::LibraryOptions::setMetadataSavers ( QStringList newMetadataSavers)

◆ setMetadataSaversNull()

void Jellyfin::DTO::LibraryOptions::setMetadataSaversNull ( )

◆ setPathInfos()

void Jellyfin::DTO::LibraryOptions::setPathInfos ( QList< MediaPathInfo > newPathInfos)

◆ setPathInfosNull()

void Jellyfin::DTO::LibraryOptions::setPathInfosNull ( )

◆ setPreferredMetadataLanguage()

void Jellyfin::DTO::LibraryOptions::setPreferredMetadataLanguage ( QString newPreferredMetadataLanguage)

Gets or sets the preferred metadata language.

◆ setPreferredMetadataLanguageNull()

void Jellyfin::DTO::LibraryOptions::setPreferredMetadataLanguageNull ( )

◆ setRequirePerfectSubtitleMatch()

void Jellyfin::DTO::LibraryOptions::setRequirePerfectSubtitleMatch ( bool newRequirePerfectSubtitleMatch)

◆ setSaveLocalMetadata()

void Jellyfin::DTO::LibraryOptions::setSaveLocalMetadata ( bool newSaveLocalMetadata)

◆ setSaveSubtitlesWithMedia()

void Jellyfin::DTO::LibraryOptions::setSaveSubtitlesWithMedia ( bool newSaveSubtitlesWithMedia)

◆ setSeasonZeroDisplayName()

void Jellyfin::DTO::LibraryOptions::setSeasonZeroDisplayName ( QString newSeasonZeroDisplayName)

◆ setSeasonZeroDisplayNameNull()

void Jellyfin::DTO::LibraryOptions::setSeasonZeroDisplayNameNull ( )

◆ setSkipSubtitlesIfAudioTrackMatches()

void Jellyfin::DTO::LibraryOptions::setSkipSubtitlesIfAudioTrackMatches ( bool newSkipSubtitlesIfAudioTrackMatches)

◆ setSkipSubtitlesIfEmbeddedSubtitlesPresent()

void Jellyfin::DTO::LibraryOptions::setSkipSubtitlesIfEmbeddedSubtitlesPresent ( bool newSkipSubtitlesIfEmbeddedSubtitlesPresent)

◆ setSubtitleDownloadLanguages()

void Jellyfin::DTO::LibraryOptions::setSubtitleDownloadLanguages ( QStringList newSubtitleDownloadLanguages)

◆ setSubtitleDownloadLanguagesNull()

void Jellyfin::DTO::LibraryOptions::setSubtitleDownloadLanguagesNull ( )

◆ setSubtitleFetcherOrder()

void Jellyfin::DTO::LibraryOptions::setSubtitleFetcherOrder ( QStringList newSubtitleFetcherOrder)

◆ setSubtitleFetcherOrderNull()

void Jellyfin::DTO::LibraryOptions::setSubtitleFetcherOrderNull ( )

◆ setTypeOptions()

void Jellyfin::DTO::LibraryOptions::setTypeOptions ( QList< TypeOptions > newTypeOptions)

◆ setTypeOptionsNull()

void Jellyfin::DTO::LibraryOptions::setTypeOptionsNull ( )

◆ skipSubtitlesIfAudioTrackMatches()

bool Jellyfin::DTO::LibraryOptions::skipSubtitlesIfAudioTrackMatches ( ) const

◆ skipSubtitlesIfEmbeddedSubtitlesPresent()

bool Jellyfin::DTO::LibraryOptions::skipSubtitlesIfEmbeddedSubtitlesPresent ( ) const

◆ subtitleDownloadLanguages()

QStringList Jellyfin::DTO::LibraryOptions::subtitleDownloadLanguages ( ) const

◆ subtitleDownloadLanguagesNull()

bool Jellyfin::DTO::LibraryOptions::subtitleDownloadLanguagesNull ( ) const

◆ subtitleFetcherOrder()

QStringList Jellyfin::DTO::LibraryOptions::subtitleFetcherOrder ( ) const

◆ subtitleFetcherOrderNull()

bool Jellyfin::DTO::LibraryOptions::subtitleFetcherOrderNull ( ) const

◆ toJson()

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

◆ typeOptions()

QList< TypeOptions > Jellyfin::DTO::LibraryOptions::typeOptions ( ) const

◆ typeOptionsNull()

bool Jellyfin::DTO::LibraryOptions::typeOptionsNull ( ) const

Member Data Documentation

◆ m_automaticRefreshIntervalDays

qint32 Jellyfin::DTO::LibraryOptions::m_automaticRefreshIntervalDays
protected

◆ m_disabledLocalMetadataReaders

QStringList Jellyfin::DTO::LibraryOptions::m_disabledLocalMetadataReaders
protected

◆ m_disabledSubtitleFetchers

QStringList Jellyfin::DTO::LibraryOptions::m_disabledSubtitleFetchers
protected

◆ m_enableAutomaticSeriesGrouping

bool Jellyfin::DTO::LibraryOptions::m_enableAutomaticSeriesGrouping
protected

◆ m_enableChapterImageExtraction

bool Jellyfin::DTO::LibraryOptions::m_enableChapterImageExtraction
protected

◆ m_enableEmbeddedEpisodeInfos

bool Jellyfin::DTO::LibraryOptions::m_enableEmbeddedEpisodeInfos
protected

◆ m_enableEmbeddedTitles

bool Jellyfin::DTO::LibraryOptions::m_enableEmbeddedTitles
protected

◆ m_enableInternetProviders

bool Jellyfin::DTO::LibraryOptions::m_enableInternetProviders
protected

◆ m_enablePhotos

bool Jellyfin::DTO::LibraryOptions::m_enablePhotos
protected

◆ m_enableRealtimeMonitor

bool Jellyfin::DTO::LibraryOptions::m_enableRealtimeMonitor
protected

◆ m_extractChapterImagesDuringLibraryScan

bool Jellyfin::DTO::LibraryOptions::m_extractChapterImagesDuringLibraryScan
protected

◆ m_localMetadataReaderOrder

QStringList Jellyfin::DTO::LibraryOptions::m_localMetadataReaderOrder
protected

◆ m_metadataCountryCode

QString Jellyfin::DTO::LibraryOptions::m_metadataCountryCode
protected

◆ m_metadataSavers

QStringList Jellyfin::DTO::LibraryOptions::m_metadataSavers
protected

◆ m_pathInfos

QList<MediaPathInfo> Jellyfin::DTO::LibraryOptions::m_pathInfos
protected

◆ m_preferredMetadataLanguage

QString Jellyfin::DTO::LibraryOptions::m_preferredMetadataLanguage
protected

◆ m_requirePerfectSubtitleMatch

bool Jellyfin::DTO::LibraryOptions::m_requirePerfectSubtitleMatch
protected

◆ m_saveLocalMetadata

bool Jellyfin::DTO::LibraryOptions::m_saveLocalMetadata
protected

◆ m_saveSubtitlesWithMedia

bool Jellyfin::DTO::LibraryOptions::m_saveSubtitlesWithMedia
protected

◆ m_seasonZeroDisplayName

QString Jellyfin::DTO::LibraryOptions::m_seasonZeroDisplayName
protected

◆ m_skipSubtitlesIfAudioTrackMatches

bool Jellyfin::DTO::LibraryOptions::m_skipSubtitlesIfAudioTrackMatches
protected

◆ m_skipSubtitlesIfEmbeddedSubtitlesPresent

bool Jellyfin::DTO::LibraryOptions::m_skipSubtitlesIfEmbeddedSubtitlesPresent
protected

◆ m_subtitleDownloadLanguages

QStringList Jellyfin::DTO::LibraryOptions::m_subtitleDownloadLanguages
protected

◆ m_subtitleFetcherOrder

QStringList Jellyfin::DTO::LibraryOptions::m_subtitleFetcherOrder
protected

◆ m_typeOptions

QList<TypeOptions> Jellyfin::DTO::LibraryOptions::m_typeOptions
protected

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