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 TypeFieldDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean -
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.booleanReturns whether the collections view should be displayed.booleanReturns whether missing episodes should be displayed.booleanReturns whether the local password is enabled.booleanReturns whether the next episode should auto play.booleanReturns whether played items should be hidden in latest.booleanReturns whether the default audio track should be played.booleanReturns whether audio selections should be remembered.booleanReturns whether subtitle selections should be remembered.voidsetAudioLanguagePreference(String AudioLanguagePreference) Sets the audio language preference.voidsetDisplayCollectionsView(boolean displayCollectionsView) Sets whether the collections view should be displayed.voidsetDisplayMissingEpisodes(boolean displayMissingEpisodes) Sets whether missing episodes should be displayed.voidsetEnableLocalPassword(boolean enableLocalPassword) Sets whether the local password is enabled.voidsetEnableNextEpisodeAutoPlay(boolean enableNextEpisodeAutoPlay) Sets whether the next episode should auto play.voidsetGroupedFolders(ArrayList<Object> groupedFolders) Sets the grouped folders.voidsetHidePlayedInLatest(boolean hidePlayedInLatest) Sets whether played items should be hidden in latest.voidsetLatestItemsExcludes(ArrayList<Object> latestItemsExcludes) Sets the latest items excludes.voidsetMyMediaExcludes(ArrayList<Object> myMediaExcludes) Sets the my media excludes.voidsetOrderedViews(ArrayList<Object> orderedViews) Sets the ordered views.voidsetPlayDefaultAudioTrack(boolean playDefaultAudioTrack) Sets whether the default audio track should be played.voidsetRememberAudioSelections(boolean rememberAudioSelections) Sets whether audio selections should be remembered.voidsetRememberSubtitleSelections(boolean rememberSubtitleSelections) Sets whether subtitle selections should be remembered.voidsetSubtitleLanguagePreference(String subtitleLanguagePreference) Sets the subtitle language preference.voidsetSubtitleMode(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
-