Package com.lariflix.jemm.dtos
Class JellyfinUserConfiguration
java.lang.Object
com.lariflix.jemm.dtos.JellyfinUserConfiguration
This class represents the configuration of a user in Jellyfin.
- Since:
- 1.0
- Author:
- Cesar Bianchi
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for JellyfinUserConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionReturns the grouped folders.Returns the latest items excludes.Returns the my media excludes.Returns the ordered views.Returns the subtitle language preference.Returns the subtitle mode.Returns the audio language preference.boolean
Returns whether the collections view should be displayed.boolean
Returns whether missing episodes should be displayed.boolean
Returns whether the local password is enabled.boolean
Returns whether the next episode should auto play.boolean
Returns whether played items should be hidden in latest.boolean
Returns whether the default audio track should be played.boolean
Returns whether audio selections should be remembered.boolean
Returns whether subtitle selections should be remembered.void
setAudioLanguagePreference
(String AudioLanguagePreference) Sets the audio language preference.void
setDisplayCollectionsView
(boolean displayCollectionsView) Sets whether the collections view should be displayed.void
setDisplayMissingEpisodes
(boolean displayMissingEpisodes) Sets whether missing episodes should be displayed.void
setEnableLocalPassword
(boolean enableLocalPassword) Sets whether the local password is enabled.void
setEnableNextEpisodeAutoPlay
(boolean enableNextEpisodeAutoPlay) Sets whether the next episode should auto play.void
setGroupedFolders
(ArrayList<Object> groupedFolders) Sets the grouped folders.void
setHidePlayedInLatest
(boolean hidePlayedInLatest) Sets whether played items should be hidden in latest.void
setLatestItemsExcludes
(ArrayList<Object> latestItemsExcludes) Sets the latest items excludes.void
setMyMediaExcludes
(ArrayList<Object> myMediaExcludes) Sets the my media excludes.void
setOrderedViews
(ArrayList<Object> orderedViews) Sets the ordered views.void
setPlayDefaultAudioTrack
(boolean playDefaultAudioTrack) Sets whether the default audio track should be played.void
setRememberAudioSelections
(boolean rememberAudioSelections) Sets whether audio selections should be remembered.void
setRememberSubtitleSelections
(boolean rememberSubtitleSelections) Sets whether subtitle selections should be remembered.void
setSubtitleLanguagePreference
(String subtitleLanguagePreference) Sets the subtitle language preference.void
setSubtitleMode
(String subtitleMode) Sets the subtitle mode.
-
Field Details
-
AudioLanguagePreference
-
playDefaultAudioTrack
public boolean playDefaultAudioTrack -
subtitleLanguagePreference
-
displayMissingEpisodes
public boolean displayMissingEpisodes -
groupedFolders
-
subtitleMode
-
displayCollectionsView
public boolean displayCollectionsView -
enableLocalPassword
public boolean enableLocalPassword -
orderedViews
-
latestItemsExcludes
-
myMediaExcludes
-
hidePlayedInLatest
public boolean hidePlayedInLatest -
rememberAudioSelections
public boolean rememberAudioSelections -
rememberSubtitleSelections
public boolean rememberSubtitleSelections -
enableNextEpisodeAutoPlay
public boolean enableNextEpisodeAutoPlay
-
-
Constructor Details
-
JellyfinUserConfiguration
public JellyfinUserConfiguration()Default constructor for JellyfinUserConfiguration.- Since:
- 1.0
-
-
Method Details
-
isPlayDefaultAudioTrack
public boolean isPlayDefaultAudioTrack()Returns whether the default audio track should be played.- Returns:
- True if the default audio track should be played, false otherwise.
- Since:
- 1.0
-
setPlayDefaultAudioTrack
public void setPlayDefaultAudioTrack(boolean playDefaultAudioTrack) Sets whether the default audio track should be played.- Parameters:
playDefaultAudioTrack
- True to play the default audio track, false otherwise.- Since:
- 1.0
-
getSubtitleLanguagePreference
Returns the subtitle language preference.- Returns:
- The subtitle language preference.
- Since:
- 1.0
-
setSubtitleLanguagePreference
Sets the subtitle language preference.- Parameters:
subtitleLanguagePreference
- The new subtitle language preference.- Since:
- 1.0
-
isDisplayMissingEpisodes
public boolean isDisplayMissingEpisodes()Returns whether missing episodes should be displayed.- Returns:
- True if missing episodes should be displayed, false otherwise.
- Since:
- 1.0
-
setDisplayMissingEpisodes
public void setDisplayMissingEpisodes(boolean displayMissingEpisodes) Sets whether missing episodes should be displayed.- Parameters:
displayMissingEpisodes
- True to display missing episodes, false otherwise.- Since:
- 1.0
-
getSubtitleMode
Returns the subtitle mode.- Returns:
- The subtitle mode.
- Since:
- 1.0
-
setSubtitleMode
Sets the subtitle mode.- Parameters:
subtitleMode
- The new subtitle mode.- Since:
- 1.0
-
isDisplayCollectionsView
public boolean isDisplayCollectionsView()Returns whether the collections view should be displayed.- Returns:
- True if the collections view should be displayed, false otherwise.
- Since:
- 1.0
-
setDisplayCollectionsView
public void setDisplayCollectionsView(boolean displayCollectionsView) Sets whether the collections view should be displayed.- Parameters:
displayCollectionsView
- True to display the collections view, false otherwise.- Since:
- 1.0
-
isEnableLocalPassword
public boolean isEnableLocalPassword()Returns whether the local password is enabled.- Returns:
- True if the local password is enabled, false otherwise.
- Since:
- 1.0
-
setEnableLocalPassword
public void setEnableLocalPassword(boolean enableLocalPassword) Sets whether the local password is enabled.- Parameters:
enableLocalPassword
- True to enable the local password, false otherwise.- Since:
- 1.0
-
getGroupedFolders
Returns the grouped folders.- Returns:
- The grouped folders.
- Since:
- 1.0
-
setGroupedFolders
Sets the grouped folders.- Parameters:
groupedFolders
- The new grouped folders.- Since:
- 1.0
-
getOrderedViews
Returns the ordered views.- Returns:
- The ordered views.
- Since:
- 1.0
-
setOrderedViews
Sets the ordered views.- Parameters:
orderedViews
- The new ordered views.- Since:
- 1.0
-
getLatestItemsExcludes
Returns the latest items excludes.- Returns:
- The latest items excludes.
- Since:
- 1.0
-
setLatestItemsExcludes
Sets the latest items excludes.- Parameters:
latestItemsExcludes
- The new latest items excludes.- Since:
- 1.0
-
getMyMediaExcludes
Returns the my media excludes.- Returns:
- The my media excludes.
- Since:
- 1.0
-
setMyMediaExcludes
Sets the my media excludes.- Parameters:
myMediaExcludes
- The new my media excludes.- Since:
- 1.0
-
isHidePlayedInLatest
public boolean isHidePlayedInLatest()Returns whether played items should be hidden in latest.- Returns:
- True if played items should be hidden in latest, false otherwise.
- Since:
- 1.0
-
setHidePlayedInLatest
public void setHidePlayedInLatest(boolean hidePlayedInLatest) Sets whether played items should be hidden in latest.- Parameters:
hidePlayedInLatest
- True to hide played items in latest, false otherwise.- Since:
- 1.0
-
isRememberAudioSelections
public boolean isRememberAudioSelections()Returns whether audio selections should be remembered.- Returns:
- True if audio selections should be remembered, false otherwise.
- Since:
- 1.0
-
setRememberAudioSelections
public void setRememberAudioSelections(boolean rememberAudioSelections) Sets whether audio selections should be remembered.- Parameters:
rememberAudioSelections
- True to remember audio selections, false otherwise.- Since:
- 1.0
-
isRememberSubtitleSelections
public boolean isRememberSubtitleSelections()Returns whether subtitle selections should be remembered.- Returns:
- True if subtitle selections should be remembered, false otherwise.
- Since:
- 1.0
-
setRememberSubtitleSelections
public void setRememberSubtitleSelections(boolean rememberSubtitleSelections) Sets whether subtitle selections should be remembered.- Parameters:
rememberSubtitleSelections
- True to remember subtitle selections, false otherwise.- Since:
- 1.0
-
isEnableNextEpisodeAutoPlay
public boolean isEnableNextEpisodeAutoPlay()Returns whether the next episode should auto play.- Returns:
- True if the next episode should auto play, false otherwise.
- Since:
- 1.0
-
setEnableNextEpisodeAutoPlay
public void setEnableNextEpisodeAutoPlay(boolean enableNextEpisodeAutoPlay) Sets whether the next episode should auto play.- Parameters:
enableNextEpisodeAutoPlay
- True to enable the next episode to auto play, false otherwise.- Since:
- 1.0
-
isAudioLanguagePreference
Returns the audio language preference.- Returns:
- The audio language preference.
- Since:
- 1.0
-
setAudioLanguagePreference
Sets the audio language preference.- Parameters:
AudioLanguagePreference
- The new audio language preference.- Since:
- 1.0
-