Movies are a core part of Channels, these are the recordings and imported videos classified as feature films. On this page, we’ll dive into the different movie endpoints you can use to read movie information programmatically from the Channels library.
The movie model
The movie model contains all the information about the movies in your library, such as its title, poster art, release date, duration, watch status, etc.
Properties
idstring
The unique identifier for the movie.
program_idstring
The unique identifier for the movie according to the indexer.
pathstring
The full path to the video file.
channelstring
The channel number the movie was recorded from.
titlestring
The title of the movie.
summarystring
The short summary of the movie.
full_summarystring
The full summary of the movie.
content_ratingstring
The content rating of the movie. This is typicall a rating such as PG, PG-13, R, etc.
image_urlstring
The URL of the poster image for the movie.
durationfloat
The duration of the movie in seconds.
playback_timeinteger
The playback position the movie will resume at in seconds.
release_yearstring
The year the movie was released.
release_datestring
The date the movie was released.
genresarray
An array of strings for the genres of the movie.
tagsarray
An array of strings for the tags of the movie. Tags indicate information about the video file such as HD, 4K, CC, Dolby Digital, etc.
labelsarray
An array of strings for the labels of the movie. Labels are self assigned strings used for organizing items in the library.
categoriesarray
An array of strings for the categories of the movie. Categories describe the type of content the movie is such as Feature Film.
castarray
An array of strings for the cast of the movie.
directorsarray
An array of strings for the directors of the movie.
commercialsArray of floats
An array of floats denoting the commercial breaks in the movie.
watchedboolean
Whether or not the movie has been watched.
favoritedboolean
Whether or not the movie has been favorited.
delayedboolean
Whether or not the movie's recording was delayed when recording began.
cancelledboolean
Whether or not the movie's recording was cancelled early.
corruptedboolean
Whether or not the movie was corrupted while recording.
completedboolean
Whether or not recording of the movie has completed.
processedboolean
Whether or not the recording has completed post-processing.
verifiedboolean
Whether or not the movie's commercials have been manually verified.
last_watched_attimestamp
The timestamp of the last time the movie was watched.
created_attimestamp
The timestamp of when the movie was added to the library.
updated_attimestamp
The timestamp of when the movie was last updated.
GET/api/v1/movies
List all movies
Returns a list of all movies in the library.
Optional Attributes
watchedboolean
Only return movies with watch status corresponding to the passed in value.
favoritedboolean
Only return movies with favorited status corresponding to the passed in value.
verifiedboolean
Only return movies with verified status corresponding to the passed in value.
sourcestring
Only return movies sourced from the passed in value.
Options
recordings
Movies recorded directly via Channels.
imports
Movies added to the library via local content sources.
playon-cloud
Movies added to the library from PlayOn Cloud.
stream-links
Movies added to the library via a Stream Link.
stream-files
Movies added to the library via a Stream File.
Sorting Attributes
sortstring
Sort the response based on the passed in value.
Options
alphadefault
Sort by the title of the movie.
date_added
Sort by the date the movie was added to the library.
date_released
Sort by the date the movie was originally released.
date_watched
Sort by the date the movie was last watched.
duration
Sort by length of the movie.
orderstring
Set the order of the response.
Options
ascdefault
Ascending order.
desc
Descending order.
Request
GET/api/v1/movies
curl http://192.168.1.3:8089/api/v1/movies
Response
GET/api/v1/movies/:id
Retrieve a movie
This endpoint allows you to retrieve a movie by using its unique identifier.