Configuration File Location
StreamVault stores all configuration in a JSON file located at:The development build uses a separate
StreamVault-Dev directory to keep data isolated from production.Configuration Structure
The configuration file follows this JSON structure (fromconfig.rs:172-196):
Settings Categories
Player Configuration
MPV Path
Path to MPV executable for video playback
VLC Path
(Optional) Path to VLC player
API Keys
TMDB API Key
API key or Access Token for fetching metadata, posters, and streaming search results
Cloud Cache Settings
| Setting | Default | Description |
|---|---|---|
cloud_cache_enabled | false | Enable disk caching for cloud streaming |
cloud_cache_dir | null | Custom cache directory path |
cloud_cache_max_mb | 1024 | Maximum cache size per movie (1GB) |
cloud_cache_expiry_hours | 24 | Auto-cleanup after 24 hours |
cloud_scan_interval_minutes | 5 | Google Drive change detection interval |
Accessing Settings
Navigate Sections
Use the sidebar to switch between:
- General - Player paths and startup options
- Cloud Storage - Google Drive connection
- API Keys - TMDB configuration
- Advanced - Reset and cleanup tools
Default Values
When the config file doesn’t exist, StreamVault creates it with these defaults (fromconfig.rs:210-224):
Auto-Detection
MPV Auto-Discovery
StreamVault automatically searches for MPV in common locations on Windows:C:\Program Files\mpv\mpv.exeC:\Program Files (x86)\mpv\mpv.exe- Scoop installations:
%USERPROFILE%\scoop\apps\mpv\ - Chocolatey:
C:\ProgramData\chocolatey\bin\mpv.exe - System PATH
Configuration Management
Loading Configuration
Fromconfig.rs:227-242:
Settings Storage Paths
All app data is stored in the same directory (fromdatabase.rs:5-48):
Next Steps
TMDB Setup
Configure TMDB API for metadata
Google Drive Setup
Connect cloud storage
Player Setup
Install and configure MPV
Library Management
Start organizing your media