Continue Watching
Get recently watched media items for the “Continue Watching” feature.Response
Returns up to 20 recently watched media items sorted by last played time.This endpoint returns media items that have been started (playPosition > 0) but not completed (playPosition < 90% of playDuration).
List Media
Retrieve all media items in your library.Query Parameters
Filter by media type:
movie or tvResponse
Returns an array of media objects.Add Media
Add a new media item from a magnet link.Request Body
The magnet URI to download
Media type:
movie or tv. Auto-detected if not providedTMDB ID for metadata enrichment
Media title (from browse view)
Release year
Poster image URL
Backdrop image URL
Media description/overview
Array of genre names
Content rating (e.g., “PG-13”, “TV-MA”)
Response
Returns the created media object with201 Created status.
Behavior Notes
- If a media item with the same infohash already exists in the profile, returns the existing item (200 OK)
- For TV shows with the same
tmdbId, creates a new download record linked to the existing show - Automatically starts the download in the background
- Fetches metadata from TMDB if not provided
- Downloads and caches poster/backdrop images
Get Media Details
Retrieve details for a specific media item.Path Parameters
Media ID
Response
Delete Media
Delete a media item and all associated files.Path Parameters
Media ID
Response
Returns204 No Content on success.
Behavior
- Cancels any active downloads
- Deletes all files from the file system
- Removes database records
Search Library
Search your media library by title.Query Parameters
Search query (minimum 2 characters)
Filter by type:
movie or tvResponse
Get Download Progress
Get real-time download status and progress.Path Parameters
Media ID
Response
Current download status
Download progress (0-100)
Current download speed in bytes/second
Current upload speed in bytes/second
Number of connected peers
Whether the download is currently active
Path to the downloaded file (when ready)
Error message if status is “error”
Get Playback Position
Get the saved playback position for a media item or episode.Path Parameters
Media ID
Query Parameters
Episode ID (for TV shows)
Response
Update Playback Position
Save playback progress for a media item or episode.Path Parameters
Media ID
Request Body
Playback position in seconds
Total duration in seconds
Episode ID (for TV shows)
Response
Returns204 No Content on success.
Stream Media
Stream video content with support for range requests and transmuxing.Path Parameters
Media ID
Query Parameters
Episode ID (required for TV shows)
Headers
Byte range request (e.g., “bytes=0-1023”)
Response
Returns video stream with appropriate content type:200 OK- Full file response206 Partial Content- Range request response202 Accepted- Video is still buffering
Features
- Supports HTTP range requests for seeking
- Automatic transmuxing of MKV/AVI to MP4
- Streams directly from active torrents
- Falls back to library files for completed downloads
- Handles client disconnections gracefully
Get TV Seasons
Get all seasons and episodes for a TV show.Path Parameters
Media ID (must be type “tv”)