Artwork delivery
XMB serves public provider artwork through content.xmb.gg. API image fields
contain the delivery URL; clients should use that URL directly rather than
constructing URLs from provider IDs. Source URLs remain in metadata, so enabling
or rolling back the proxy does not require re-indexing libraries.
The cache covers TMDB images, TheTVDB artwork, AniList covers and banners, and Crunchyroll episode thumbnails supplied by AniList. User avatars, authenticated media streams, subtitles and theme audio retain their existing delivery paths.
Image URLs
An example poster URL is:
https://content.xmb.gg/v1/tmdb/t/p/w780/100LQrU6c3fgewDoDCfJuwu1upf.jpgTMDB rendition paths are preserved. Summary posters and thumbnails use at most
w780, backdrops and banners w1280, and people images w500 when metadata
contains an original-size image. Explicit source renditions stay unchanged.
Gallery image records retain their full-resolution URLs. Shared client helpers
understand both legacy TMDB and proxied URLs, including Top Shelf and offline
artwork downloads.
URLs are public and stable: there are no expiring bucket signatures to refresh. Only registered public image origins and paths are accepted. Arbitrary URL parameters and remote destinations are not supported.
Caching and failures
The service checks local memory and disk before the private upl backing bucket. On a complete miss it fetches and validates the provider image, serves it, and persists it to upl in the background. Images already held locally remain available while upl is unavailable. A bounded persistent journal retries uploads after a process restart.
Responses support GET, HEAD, conditional requests and byte ranges. Public
CORS allows uncredentialed image use across XMB clients. Freshness follows the
provider's policy up to seven days; browser freshness is capped at one day.
Eligible stale artwork can be served during refreshes or outages for up to
thirty additional days. Error responses are not stored as successful images.
A missing image returns 404. A temporary failure or exhausted fill budget
returns 503 with Retry-After; clients should retain their normal image
placeholder and avoid immediate retry loops.