mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
5.9 KiB
5.9 KiB
UserProfile
Example Usage
import {
AutoSelectSubtitle,
DefaultSubtitleAccessibility,
DefaultSubtitleForced,
MediaReviewsVisibility,
UserProfile,
WatchedIndicator,
} from "@lukehagar/plexjs/sdk/models/operations";
let value: UserProfile = {
defaultAudioLanguage: "ja",
defaultSubtitleLanguage: "en",
autoSelectSubtitle: AutoSelectSubtitle.Enable,
defaultSubtitleAccessibility: DefaultSubtitleAccessibility.Enable,
defaultSubtitleForced: DefaultSubtitleForced.Enable,
watchedIndicator: WatchedIndicator.Enable,
mediaReviewsVisibility: MediaReviewsVisibility.Enable,
};
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 | ➖ | N/A | 1 |
defaultSubtitleAccessibility |
operations.DefaultSubtitleAccessibility | ➖ | N/A | 1 |
defaultSubtitleForced |
operations.DefaultSubtitleForced | ➖ | N/A | 1 |
watchedIndicator |
operations.WatchedIndicator | ➖ | N/A | 1 |
mediaReviewsVisibility |
operations.MediaReviewsVisibility | ➖ | N/A | 1 |