Files
plexjs/docs/sdk/models/operations/userprofile.md
2024-09-08 03:06:14 +00:00

9.8 KiB
Raw Blame History

UserProfile

Example Usage

import {
  AutoSelectSubtitle,
  DefaultSubtitleAccessibility,
  DefaultSubtitleForced,
  MediaReviewsVisibility,
  UserProfile,
  WatchedIndicator,
} from "@lukehagar/plexjs/sdk/models/operations";

let value: UserProfile = {
    autoSelectAudio: true,
    defaultAudioLanguage: "ja",
    defaultSubtitleLanguage: "en",
    autoSelectSubtitle: AutoSelectSubtitle.One,
    defaultSubtitleAccessibility: DefaultSubtitleAccessibility.One,
    defaultSubtitleForced: DefaultSubtitleForced.Zero,
    watchedIndicator: WatchedIndicator.One,
    mediaReviewsVisibility: MediaReviewsVisibility.One,
};

Fields

Field Type Required Description Example
autoSelectAudio boolean If the account has automatically select audio and subtitle tracks enabled true
defaultAudioLanguage string ✔️ The preferred audio language for the account ja
defaultSubtitleLanguage string ✔️ The preferred subtitle language for the account en
autoSelectSubtitle operations.AutoSelectSubtitle The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled) 1
defaultSubtitleAccessibility operations.DefaultSubtitleAccessibility The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only shown non-SDH subtitles) 1
defaultSubtitleForced operations.DefaultSubtitleForced The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles) 0
watchedIndicator operations.WatchedIndicator N/A 1
mediaReviewsVisibility operations.MediaReviewsVisibility N/A 0