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

#include <userconfiguration.h>

Public Member Functions

 UserConfiguration (bool playDefaultAudioTrack, bool displayMissingEpisodes, SubtitlePlaybackMode subtitleMode, bool displayCollectionsView, bool enableLocalPassword, bool hidePlayedInLatest, bool rememberAudioSelections, bool rememberSubtitleSelections, bool enableNextEpisodeAutoPlay)
 
 UserConfiguration (const UserConfiguration &other)
 
void replaceData (UserConfiguration &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString audioLanguagePreference () const
 Gets or sets the audio language preference.
 
void setAudioLanguagePreference (QString newAudioLanguagePreference)
 Gets or sets the audio language preference.
 
bool audioLanguagePreferenceNull () const
 
void setAudioLanguagePreferenceNull ()
 
bool playDefaultAudioTrack () const
 Gets or sets a value indicating whether [play default audio track].
 
void setPlayDefaultAudioTrack (bool newPlayDefaultAudioTrack)
 Gets or sets a value indicating whether [play default audio track].
 
QString subtitleLanguagePreference () const
 Gets or sets the subtitle language preference.
 
void setSubtitleLanguagePreference (QString newSubtitleLanguagePreference)
 Gets or sets the subtitle language preference.
 
bool subtitleLanguagePreferenceNull () const
 
void setSubtitleLanguagePreferenceNull ()
 
bool displayMissingEpisodes () const
 
void setDisplayMissingEpisodes (bool newDisplayMissingEpisodes)
 
QStringList groupedFolders () const
 
void setGroupedFolders (QStringList newGroupedFolders)
 
bool groupedFoldersNull () const
 
void setGroupedFoldersNull ()
 
SubtitlePlaybackMode subtitleMode () const
 
void setSubtitleMode (SubtitlePlaybackMode newSubtitleMode)
 
bool displayCollectionsView () const
 
void setDisplayCollectionsView (bool newDisplayCollectionsView)
 
bool enableLocalPassword () const
 
void setEnableLocalPassword (bool newEnableLocalPassword)
 
QStringList orderedViews () const
 
void setOrderedViews (QStringList newOrderedViews)
 
bool orderedViewsNull () const
 
void setOrderedViewsNull ()
 
QStringList latestItemsExcludes () const
 
void setLatestItemsExcludes (QStringList newLatestItemsExcludes)
 
bool latestItemsExcludesNull () const
 
void setLatestItemsExcludesNull ()
 
QStringList myMediaExcludes () const
 
void setMyMediaExcludes (QStringList newMyMediaExcludes)
 
bool myMediaExcludesNull () const
 
void setMyMediaExcludesNull ()
 
bool hidePlayedInLatest () const
 
void setHidePlayedInLatest (bool newHidePlayedInLatest)
 
bool rememberAudioSelections () const
 
void setRememberAudioSelections (bool newRememberAudioSelections)
 
bool rememberSubtitleSelections () const
 
void setRememberSubtitleSelections (bool newRememberSubtitleSelections)
 
bool enableNextEpisodeAutoPlay () const
 
void setEnableNextEpisodeAutoPlay (bool newEnableNextEpisodeAutoPlay)
 

Static Public Member Functions

static UserConfiguration fromJson (QJsonObject source)
 

Protected Attributes

QString m_audioLanguagePreference
 
bool m_playDefaultAudioTrack
 
QString m_subtitleLanguagePreference
 
bool m_displayMissingEpisodes
 
QStringList m_groupedFolders
 
SubtitlePlaybackMode m_subtitleMode
 
bool m_displayCollectionsView
 
bool m_enableLocalPassword
 
QStringList m_orderedViews
 
QStringList m_latestItemsExcludes
 
QStringList m_myMediaExcludes
 
bool m_hidePlayedInLatest
 
bool m_rememberAudioSelections
 
bool m_rememberSubtitleSelections
 
bool m_enableNextEpisodeAutoPlay
 

Constructor & Destructor Documentation

◆ UserConfiguration() [1/2]

Jellyfin::DTO::UserConfiguration::UserConfiguration ( bool playDefaultAudioTrack,
bool displayMissingEpisodes,
SubtitlePlaybackMode subtitleMode,
bool displayCollectionsView,
bool enableLocalPassword,
bool hidePlayedInLatest,
bool rememberAudioSelections,
bool rememberSubtitleSelections,
bool enableNextEpisodeAutoPlay )

◆ UserConfiguration() [2/2]

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

Member Function Documentation

◆ audioLanguagePreference()

QString Jellyfin::DTO::UserConfiguration::audioLanguagePreference ( ) const

Gets or sets the audio language preference.

◆ audioLanguagePreferenceNull()

bool Jellyfin::DTO::UserConfiguration::audioLanguagePreferenceNull ( ) const

◆ displayCollectionsView()

bool Jellyfin::DTO::UserConfiguration::displayCollectionsView ( ) const

◆ displayMissingEpisodes()

bool Jellyfin::DTO::UserConfiguration::displayMissingEpisodes ( ) const

◆ enableLocalPassword()

bool Jellyfin::DTO::UserConfiguration::enableLocalPassword ( ) const

◆ enableNextEpisodeAutoPlay()

bool Jellyfin::DTO::UserConfiguration::enableNextEpisodeAutoPlay ( ) const

◆ fromJson()

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

◆ groupedFolders()

QStringList Jellyfin::DTO::UserConfiguration::groupedFolders ( ) const

◆ groupedFoldersNull()

bool Jellyfin::DTO::UserConfiguration::groupedFoldersNull ( ) const

◆ hidePlayedInLatest()

bool Jellyfin::DTO::UserConfiguration::hidePlayedInLatest ( ) const

◆ latestItemsExcludes()

QStringList Jellyfin::DTO::UserConfiguration::latestItemsExcludes ( ) const

◆ latestItemsExcludesNull()

bool Jellyfin::DTO::UserConfiguration::latestItemsExcludesNull ( ) const

◆ myMediaExcludes()

QStringList Jellyfin::DTO::UserConfiguration::myMediaExcludes ( ) const

◆ myMediaExcludesNull()

bool Jellyfin::DTO::UserConfiguration::myMediaExcludesNull ( ) const

◆ orderedViews()

QStringList Jellyfin::DTO::UserConfiguration::orderedViews ( ) const

◆ orderedViewsNull()

bool Jellyfin::DTO::UserConfiguration::orderedViewsNull ( ) const

◆ playDefaultAudioTrack()

bool Jellyfin::DTO::UserConfiguration::playDefaultAudioTrack ( ) const

Gets or sets a value indicating whether [play default audio track].

◆ rememberAudioSelections()

bool Jellyfin::DTO::UserConfiguration::rememberAudioSelections ( ) const

◆ rememberSubtitleSelections()

bool Jellyfin::DTO::UserConfiguration::rememberSubtitleSelections ( ) const

◆ replaceData()

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

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

◆ setAudioLanguagePreference()

void Jellyfin::DTO::UserConfiguration::setAudioLanguagePreference ( QString newAudioLanguagePreference)

Gets or sets the audio language preference.

◆ setAudioLanguagePreferenceNull()

void Jellyfin::DTO::UserConfiguration::setAudioLanguagePreferenceNull ( )

◆ setDisplayCollectionsView()

void Jellyfin::DTO::UserConfiguration::setDisplayCollectionsView ( bool newDisplayCollectionsView)

◆ setDisplayMissingEpisodes()

void Jellyfin::DTO::UserConfiguration::setDisplayMissingEpisodes ( bool newDisplayMissingEpisodes)

◆ setEnableLocalPassword()

void Jellyfin::DTO::UserConfiguration::setEnableLocalPassword ( bool newEnableLocalPassword)

◆ setEnableNextEpisodeAutoPlay()

void Jellyfin::DTO::UserConfiguration::setEnableNextEpisodeAutoPlay ( bool newEnableNextEpisodeAutoPlay)

◆ setFromJson()

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

◆ setGroupedFolders()

void Jellyfin::DTO::UserConfiguration::setGroupedFolders ( QStringList newGroupedFolders)

◆ setGroupedFoldersNull()

void Jellyfin::DTO::UserConfiguration::setGroupedFoldersNull ( )

◆ setHidePlayedInLatest()

void Jellyfin::DTO::UserConfiguration::setHidePlayedInLatest ( bool newHidePlayedInLatest)

◆ setLatestItemsExcludes()

void Jellyfin::DTO::UserConfiguration::setLatestItemsExcludes ( QStringList newLatestItemsExcludes)

◆ setLatestItemsExcludesNull()

void Jellyfin::DTO::UserConfiguration::setLatestItemsExcludesNull ( )

◆ setMyMediaExcludes()

void Jellyfin::DTO::UserConfiguration::setMyMediaExcludes ( QStringList newMyMediaExcludes)

◆ setMyMediaExcludesNull()

void Jellyfin::DTO::UserConfiguration::setMyMediaExcludesNull ( )

◆ setOrderedViews()

void Jellyfin::DTO::UserConfiguration::setOrderedViews ( QStringList newOrderedViews)

◆ setOrderedViewsNull()

void Jellyfin::DTO::UserConfiguration::setOrderedViewsNull ( )

◆ setPlayDefaultAudioTrack()

void Jellyfin::DTO::UserConfiguration::setPlayDefaultAudioTrack ( bool newPlayDefaultAudioTrack)

Gets or sets a value indicating whether [play default audio track].

◆ setRememberAudioSelections()

void Jellyfin::DTO::UserConfiguration::setRememberAudioSelections ( bool newRememberAudioSelections)

◆ setRememberSubtitleSelections()

void Jellyfin::DTO::UserConfiguration::setRememberSubtitleSelections ( bool newRememberSubtitleSelections)

◆ setSubtitleLanguagePreference()

void Jellyfin::DTO::UserConfiguration::setSubtitleLanguagePreference ( QString newSubtitleLanguagePreference)

Gets or sets the subtitle language preference.

◆ setSubtitleLanguagePreferenceNull()

void Jellyfin::DTO::UserConfiguration::setSubtitleLanguagePreferenceNull ( )

◆ setSubtitleMode()

void Jellyfin::DTO::UserConfiguration::setSubtitleMode ( SubtitlePlaybackMode newSubtitleMode)

◆ subtitleLanguagePreference()

QString Jellyfin::DTO::UserConfiguration::subtitleLanguagePreference ( ) const

Gets or sets the subtitle language preference.

◆ subtitleLanguagePreferenceNull()

bool Jellyfin::DTO::UserConfiguration::subtitleLanguagePreferenceNull ( ) const

◆ subtitleMode()

SubtitlePlaybackMode Jellyfin::DTO::UserConfiguration::subtitleMode ( ) const

◆ toJson()

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

Member Data Documentation

◆ m_audioLanguagePreference

QString Jellyfin::DTO::UserConfiguration::m_audioLanguagePreference
protected

◆ m_displayCollectionsView

bool Jellyfin::DTO::UserConfiguration::m_displayCollectionsView
protected

◆ m_displayMissingEpisodes

bool Jellyfin::DTO::UserConfiguration::m_displayMissingEpisodes
protected

◆ m_enableLocalPassword

bool Jellyfin::DTO::UserConfiguration::m_enableLocalPassword
protected

◆ m_enableNextEpisodeAutoPlay

bool Jellyfin::DTO::UserConfiguration::m_enableNextEpisodeAutoPlay
protected

◆ m_groupedFolders

QStringList Jellyfin::DTO::UserConfiguration::m_groupedFolders
protected

◆ m_hidePlayedInLatest

bool Jellyfin::DTO::UserConfiguration::m_hidePlayedInLatest
protected

◆ m_latestItemsExcludes

QStringList Jellyfin::DTO::UserConfiguration::m_latestItemsExcludes
protected

◆ m_myMediaExcludes

QStringList Jellyfin::DTO::UserConfiguration::m_myMediaExcludes
protected

◆ m_orderedViews

QStringList Jellyfin::DTO::UserConfiguration::m_orderedViews
protected

◆ m_playDefaultAudioTrack

bool Jellyfin::DTO::UserConfiguration::m_playDefaultAudioTrack
protected

◆ m_rememberAudioSelections

bool Jellyfin::DTO::UserConfiguration::m_rememberAudioSelections
protected

◆ m_rememberSubtitleSelections

bool Jellyfin::DTO::UserConfiguration::m_rememberSubtitleSelections
protected

◆ m_subtitleLanguagePreference

QString Jellyfin::DTO::UserConfiguration::m_subtitleLanguagePreference
protected

◆ m_subtitleMode

SubtitlePlaybackMode Jellyfin::DTO::UserConfiguration::m_subtitleMode
protected

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