Overview
Profile types manage user authentication, preferences, settings, and addon configuration.Profile
Main user profile structure.Authentication information (None if not logged in)
List of installed addons
Lock flag raised when addon fetch fails to prevent overwriting user addons with defaults
User settings and preferences
Methods
uid(&self) -> UID
Get the user ID if authenticated, None otherwise.
auth_key(&self) -> Option<&AuthKey>
Get the authentication key if logged in.
has_trakt<E: Env>(&self) -> bool
Check if user has valid Trakt authentication (not expired).
Default Profile
Default profile includes:- No authentication
- Official Stremio addons
- Unlocked addons
- Default settings
Auth
Authentication credentials.Authentication key (String wrapper)
User information
User
User account information.User ID (serialized as
_id)User email address
Facebook ID if linked
Apple ID if linked
Avatar URL or identifier
Last modification timestamp
Registration date
Trakt integration information
Premium subscription expiry date
GDPR consent information
Methods
is_new_user<E: Env + 'static>(&self) -> bool
Check if user registered within NEW_USER_DAYS.
TraktInfo
Trakt.tv integration credentials.When the token was created
Token expiration duration
Trakt access token (sensitive, not shown in Debug)
GDPRConsent
GDPR consent status.Terms of service consent
Privacy policy consent
Marketing consent
Source of consent
Settings
User preferences and application settings.Interface Settings
Interface language code
Whether to hide spoilers
Enable gamepad support
Playback Settings
Preferred player type
Auto-play next episode
Continue playback in background
Use hardware video decoding
Video mode setting
How to match frame rates (Disabled, FrameRateOnly, FrameRateAndResolution)
Duration of next video notification in milliseconds
Audio Settings
Enable audio passthrough
Preferred audio language
Secondary audio language
Enable surround sound
Subtitle Settings
Preferred subtitle language
Secondary subtitle language
Automatically select subtitles
Subtitle size percentage
Subtitle font family
Bold subtitles
Vertical offset for subtitles
Subtitle text color (ARGB hex)
Subtitle background color (ARGB hex)
Subtitle outline color (RGB hex)
Subtitle opacity percentage
Enable ASS subtitle styling
Control Settings
ESC key exits fullscreen
Seek duration in milliseconds for arrow keys
Short seek duration in milliseconds (arrow + shift)
Pause when application is minimized
Quit application when window is closed
Server Settings
Streaming server URL
When streaming server warning was dismissed
Run server in foreground
Privacy Settings
Send crash reports
