Overview
Metadata commands integrate with TMDB (The Movie Database) API to fetch posters, overviews, episode details, and other enrichment data for your media library.Commands
search_tmdb
Search TMDB for movies and TV shows by title.Search query (movie or TV show title)
get_tmdb_details
Alias forget_tv_details. Fetch detailed information about a TV show.
TMDB TV show ID
fix_match
Update a media item’s metadata by fetching from a specific TMDB ID.Database ID of the media item to update
Correct TMDB ID
Media type
This command:
- Fetches metadata from TMDB (poster, overview, etc.)
- Downloads the poster to cache
- Updates the database entry
- Emits
media-metadata-updatedandlibrary-updatedevents
download_poster
Posters are automatically downloaded during scanning and fix_match operations. No manual download command needed.Posters are cached in
%APPDATA%/StreamVault/image_cache/ and served via Tauri’s asset protocol.get_cached_episode_metadata
Alias forget_tv_season_episodes. Fetch episode metadata for a specific season.
TMDB TV show ID
Season number (1-based)
Results are cached in the database. Subsequent requests for the same season return instantly from cache.
refresh_series_metadata
Force refresh episode metadata for a TV series (re-downloads images for owned episodes only).TMDB TV show ID
Show title (for logging)
This command:
- Only fetches metadata for episodes you actually have in your library
- Clears old cached metadata before fetching
- Downloads episode stills/thumbnails
- Updates both the cache table and media entries
TMDB Image URLs
TMDB returns image paths like/abc123.jpg. Construct full URLs using:
- Posters:
w92,w185,w342,w500,w780,original - Backdrops:
w300,w780,w1280,original - Stills (episodes):
w92,w185,w300,original
Events
media-metadata-updated
Emitted when metadata is updated viafix_match.