Class JellyfinUserConfiguration

java.lang.Object
com.lariflix.jemm.dtos.JellyfinUserConfiguration

public class JellyfinUserConfiguration extends Object
This class represents the configuration of a user in Jellyfin.
Since:
1.0
Author:
Cesar Bianchi
  • Field Details

    • AudioLanguagePreference

      public String AudioLanguagePreference
    • playDefaultAudioTrack

      public boolean playDefaultAudioTrack
    • subtitleLanguagePreference

      public String subtitleLanguagePreference
    • displayMissingEpisodes

      public boolean displayMissingEpisodes
    • groupedFolders

      public ArrayList<Object> groupedFolders
    • subtitleMode

      public String subtitleMode
    • displayCollectionsView

      public boolean displayCollectionsView
    • enableLocalPassword

      public boolean enableLocalPassword
    • orderedViews

      public ArrayList<Object> orderedViews
    • latestItemsExcludes

      public ArrayList<Object> latestItemsExcludes
    • myMediaExcludes

      public ArrayList<Object> 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

      public String getSubtitleLanguagePreference()
      Returns the subtitle language preference.
      Returns:
      The subtitle language preference.
      Since:
      1.0
    • setSubtitleLanguagePreference

      public void setSubtitleLanguagePreference(String subtitleLanguagePreference)
      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

      public String getSubtitleMode()
      Returns the subtitle mode.
      Returns:
      The subtitle mode.
      Since:
      1.0
    • setSubtitleMode

      public void setSubtitleMode(String subtitleMode)
      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

      public ArrayList<Object> getGroupedFolders()
      Returns the grouped folders.
      Returns:
      The grouped folders.
      Since:
      1.0
    • setGroupedFolders

      public void setGroupedFolders(ArrayList<Object> groupedFolders)
      Sets the grouped folders.
      Parameters:
      groupedFolders - The new grouped folders.
      Since:
      1.0
    • getOrderedViews

      public ArrayList<Object> getOrderedViews()
      Returns the ordered views.
      Returns:
      The ordered views.
      Since:
      1.0
    • setOrderedViews

      public void setOrderedViews(ArrayList<Object> orderedViews)
      Sets the ordered views.
      Parameters:
      orderedViews - The new ordered views.
      Since:
      1.0
    • getLatestItemsExcludes

      public ArrayList<Object> getLatestItemsExcludes()
      Returns the latest items excludes.
      Returns:
      The latest items excludes.
      Since:
      1.0
    • setLatestItemsExcludes

      public void setLatestItemsExcludes(ArrayList<Object> latestItemsExcludes)
      Sets the latest items excludes.
      Parameters:
      latestItemsExcludes - The new latest items excludes.
      Since:
      1.0
    • getMyMediaExcludes

      public ArrayList<Object> getMyMediaExcludes()
      Returns the my media excludes.
      Returns:
      The my media excludes.
      Since:
      1.0
    • setMyMediaExcludes

      public void setMyMediaExcludes(ArrayList<Object> myMediaExcludes)
      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

      public String isAudioLanguagePreference()
      Returns the audio language preference.
      Returns:
      The audio language preference.
      Since:
      1.0
    • setAudioLanguagePreference

      public void setAudioLanguagePreference(String AudioLanguagePreference)
      Sets the audio language preference.
      Parameters:
      AudioLanguagePreference - The new audio language preference.
      Since:
      1.0