Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SlasshyOverhere/StreamVault/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Google Drive commands handle OAuth authentication, folder browsing, file indexing, and cloud streaming for media stored in Google Drive.Authentication
connect_google_drive
Alias forgdrive_start_auth + gdrive_complete_auth. Start the OAuth flow.
OAuth Flow:
gdrive_start_authreturns a Google OAuth URL and opens it in the default browser- User authenticates with Google
- Backend server receives the code and redirects to
localhost:42069with tokens gdrive_complete_authwaits for this callback, stores tokens, and returns account info
Google OAuth consent screen URL
gdrive_complete_auth
Complete OAuth authentication (waits for callback from browser).disconnect_google_drive
Revoke OAuth tokens and disconnect.get_drive_account_info
Get current Google Drive account information.gdrive_is_connected
Check if authenticated to Google Drive.Folder Management
scan_cloud_library
Alias forgdrive_scan_folder. Scan a Google Drive folder and index all video files.
Google Drive folder ID
Folder name (for display/logging)
Auto-Detection: The scanner parses filenames to detect:
- Movies:
Movie Title (2023).mkv - TV Shows:
Show Name S01E05.mkv
get_cloud_stream_url
Alias forgdrive_get_stream_url. Get a temporary streaming URL for a Google Drive file.
Google Drive file ID
Returns
[stream_url, access_token]delete_cloud_file
Alias for Google Drive file deletion (handled bydelete_media_files command).
See Library Management - delete_media_files
gdrive_list_folders
List folders in Google Drive.Parent folder ID, or
null for rootgdrive_list_video_files
List all video files in a folder.Folder ID to scan
Whether to scan subfolders
Only returns files with video MIME types:
video/mp4, video/x-matroska, video/webm, etc.Change Detection
check_cloud_changes
Poll Google Drive for new or changed video files (uses Changes API).How it works:
- Stores a “changes token” after each poll
- On next poll, fetches only files that changed since the last token
- Automatically indexes new video files
- Sends desktop notifications for new content
- Much more efficient than re-scanning entire folders
StreamVault polls for changes every 5 seconds automatically in the background. You rarely need to call this manually.