Catalogue
Episodes belong to a series. Use bouquets to group catalogue entries for access through lines and packages.
Categories
get_category
Returns a category
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_category&id=1'get_categories
Lists live categories in category order
| Parameter | Type | Description |
|---|---|---|
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_categories'create_category
Creates a category
Columns of streams_categories
Top-level fields for streams_categories; required: category_name, category_type
category_type- Content type the category belongs to
category_name- Category name shown in the console and to players
parent_id- Parent category of the same content type; 0 means top level
cat_order- Sort position of the category; new categories get 99
is_adult- Marks the category as adult content in the console
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_category' \
--data-urlencode 'category_name=<category_name>' \
--data-urlencode 'category_type=<category_type>'edit_category
Updates a category
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
Columns of streams_categories
Top-level fields for streams_categories; required: category_name, category_type
category_type- Content type the category belongs to
category_name- Category name shown in the console and to players
parent_id- Parent category of the same content type; 0 means top level
cat_order- Sort position of the category; new categories get 99
is_adult- Marks the category as adult content in the console
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=edit_category' \
--data-urlencode 'id=1' \
--data-urlencode 'category_name=<category_name>' \
--data-urlencode 'category_type=<category_type>'delete_category
Deletes a category
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_category&id=1'Live streams
get_stream
Returns a live stream
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_stream&id=1'create_stream
Creates a live stream
| Parameter | Type | Description |
|---|---|---|
stream_source | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
Columns of streams
Top-level fields for streams; required: stream_display_name
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_stream' \
--data-urlencode 'stream_display_name=<stream_display_name>'edit_stream
Updates a live stream
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
stream_source | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
Columns of streams
Top-level fields for streams; required: stream_display_name
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=edit_stream' \
--data-urlencode 'id=1' \
--data-urlencode 'stream_display_name=<stream_display_name>'delete_stream
Deletes a live stream
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_stream&id=1'Created channels
get_channel
Returns a created channel
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_channel&id=1'create_channel
Creates a created channel
| Parameter | Type | Description |
|---|---|---|
video_files | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
Columns of streams
Top-level fields for streams; required: stream_display_name
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_channel' \
--data-urlencode 'stream_display_name=<stream_display_name>'edit_channel
Updates a created channel
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
video_files | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
Columns of streams
Top-level fields for streams; required: stream_display_name
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=edit_channel' \
--data-urlencode 'id=1' \
--data-urlencode 'stream_display_name=<stream_display_name>'delete_channel
Deletes a created channel
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_channel&id=1'Radio stations
get_station
Returns a radio station
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_station&id=1'create_station
Creates a radio station
| Parameter | Type | Description |
|---|---|---|
stream_source | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
Columns of streams
Top-level fields for streams; required: stream_display_name
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_station' \
--data-urlencode 'stream_display_name=<stream_display_name>'edit_station
Updates a radio station
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
stream_source | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
Columns of streams
Top-level fields for streams; required: stream_display_name
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=edit_station' \
--data-urlencode 'id=1' \
--data-urlencode 'stream_display_name=<stream_display_name>'delete_station
Deletes a radio station
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_station&id=1'Movies
get_movie
Returns a movie
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_movie&id=1'create_movie
Creates a movie
| Parameter | Type | Description |
|---|---|---|
stream_source | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
m3u_file | file | Multipart M3U upload |
review | json | Movie import records |
import_folder | string | Folder import selection |
Columns of streams
Top-level fields for streams; required: stream_display_name; the name is required for ordinary single-movie writes
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_movie' \
--data-urlencode 'stream_display_name=<stream_display_name>'edit_movie
Updates a movie
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
stream_source | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
m3u_file | file | Multipart M3U upload |
review | json | Movie import records |
import_folder | string | Folder import selection |
Columns of streams
Top-level fields for streams; required: stream_display_name; the name is required for ordinary single-movie writes
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=edit_movie' \
--data-urlencode 'id=1' \
--data-urlencode 'stream_display_name=<stream_display_name>'delete_movie
Deletes a movie
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_movie&id=1'Series
get_series
Returns a series
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_series&id=1'create_series
Creates a series
Columns of streams_series
Top-level fields for streams_series; required: title
title- Series title shown in the catalog
category_id- Categories assigned to the series
cover- Series poster URL
cover_big- Legacy poster field filled from cover when saving
genre- Genre shown in the catalog
plot- Series synopsis
cast- Cast listed in the catalog
rating- Series rating shown when no separate rating is available
director- Series director
release_date- Series release date
last_modified- Time the series or its episode links were last changed
tmdb_id- TMDb ID for the series
seasons- Season metadata returned with series details
episode_run_time- Typical episode length in minutes
backdrop_path- Backdrop image for the series
youtube_trailer- YouTube trailer shown in series details
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
year- Series release year
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
similar- Stored for XUI compatibility; not used by NexgenStreamer
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_series' \
--data-urlencode 'title=<title>'edit_series
Updates a series
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
Columns of streams_series
Top-level fields for streams_series; required: title
title- Series title shown in the catalog
category_id- Categories assigned to the series
cover- Series poster URL
cover_big- Legacy poster field filled from cover when saving
genre- Genre shown in the catalog
plot- Series synopsis
cast- Cast listed in the catalog
rating- Series rating shown when no separate rating is available
director- Series director
release_date- Series release date
last_modified- Time the series or its episode links were last changed
tmdb_id- TMDb ID for the series
seasons- Season metadata returned with series details
episode_run_time- Typical episode length in minutes
backdrop_path- Backdrop image for the series
youtube_trailer- YouTube trailer shown in series details
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
year- Series release year
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
similar- Stored for XUI compatibility; not used by NexgenStreamer
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=edit_series' \
--data-urlencode 'id=1' \
--data-urlencode 'title=<title>'delete_series
Deletes a series
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_series&id=1'Episodes
get_episode
Returns an episode
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_episode&id=1'create_episode
Creates an episode
| Parameter | Type | Description |
|---|---|---|
stream_source | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
multi | boolean | Selects multi-episode import when present |
Columns of streams
Top-level fields for streams; required: series, season_num, episode; episode is for a single episode write
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_episode' \
--data-urlencode 'series=<series>' \
--data-urlencode 'season_num=<season_num>' \
--data-urlencode 'episode=<episode>'edit_episode
Updates an episode
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
stream_source | json | Sources as a list or a single string |
server_tree_data | json | Placement tree; omitting it on edit preserves existing assignments |
multi | boolean | Selects multi-episode import when present |
Columns of streams
Top-level fields for streams; required: series, season_num, episode; episode is for a single episode write
type- Content type set by the action, not by the caller
category_id- Categories assigned to the stream
stream_display_name- Name shown in the catalog
stream_source- Stream sources; created channels take their input from video_files instead
stream_icon- Stream logo or artwork
notes- Internal notes for operators
enable_transcode- Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
transcode_attributes- Stored for XUI compatibility; not used by NexgenStreamer
custom_ffmpeg- Stored for XUI compatibility; not used by NexgenStreamer
movie_properties- Metadata for a movie or episode, or the playback type for a created channel
movie_subtitles- Subtitle file for a movie or episode
read_native- Stored for XUI compatibility; not used by NexgenStreamer
target_container- File extension reported to players for a movie or episode
stream_all- Stored for XUI compatibility; not used by NexgenStreamer
remove_subtitles- Stored for XUI compatibility; not used by NexgenStreamer
custom_sid- Stored for XUI compatibility; not used by NexgenStreamer
epg_api- Stored for XUI compatibility; not used by NexgenStreamer
epg_id- ID of the program guide source
channel_id- Channel identifier in the program guide source
epg_lang- Guide language recorded in the console for the stream
order- Sort position in the catalog
auto_restart- Stored for XUI compatibility; not used by NexgenStreamer
transcode_profile_id- ID of the transcoding profile; a positive ID also enables transcoding
gen_timestamps- Stored for XUI compatibility; not used by NexgenStreamer
added- Creation time set by the API
series_no- ID of the series whose episodes supply a created channel in series mode
direct_source- Selects direct source delivery when direct_proxy is off
tv_archive_duration- Number of days to keep for catch-up; 0 turns it off
tv_archive_server_id- ID of the archive server for catch-up
tv_archive_pid- Stored for XUI compatibility; not used by NexgenStreamer
vframes_server_id- Stored for XUI compatibility; not used by NexgenStreamer
vframes_pid- Stored for XUI compatibility; not used by NexgenStreamer
movie_symlink- When set for a movie or episode, the API prefers the source extension as the target container
rtmp_output- Stored for XUI compatibility; not used by NexgenStreamer
allow_record- Stored for XUI compatibility; not used by NexgenStreamer
probesize_ondemand- Stored for XUI compatibility; not used by NexgenStreamer
custom_map- Stored for XUI compatibility; not used by NexgenStreamer
external_push- Stored for XUI compatibility; not used by NexgenStreamer
delay_minutes- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_language- Stored for XUI compatibility; not used by NexgenStreamer
llod- Stored for XUI compatibility; not used by NexgenStreamer
year- Release year shown in the catalog
rating- Rating shown in the catalog
plex_uuid- Stored for XUI compatibility; not used by NexgenStreamer
epg_offset- Time offset in hours applied to the stream’s program guide
updated- Timestamp the database updates when the row changes
similar- Stored for XUI compatibility; not used by NexgenStreamer
tmdb_id- TMDb ID for the movie or episode
adaptive_link- Stored for XUI compatibility; not used by NexgenStreamer
title_sync- Copies the name from a provider stream when the record is saved
fps_restart- Stored for XUI compatibility; not used by NexgenStreamer
fps_threshold- Stored for XUI compatibility; not used by NexgenStreamer
direct_proxy- Selects direct proxy delivery in the console when direct_source is off
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=edit_episode' \
--data-urlencode 'id=1' \
--data-urlencode 'series=<series>' \
--data-urlencode 'season_num=<season_num>' \
--data-urlencode 'episode=<episode>'delete_episode
Deletes an episode
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_episode&id=1'Bouquets
get_bouquet
Returns a bouquet
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_bouquet&id=1'get_bouquets
Lists bouquets
| Parameter | Type | Description |
|---|---|---|
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_bouquets'create_bouquet
Creates a bouquet
| Parameter | Type | Description |
|---|---|---|
bouquet_data | json | Membership object with stream, movies, radios and series lists |
Columns of bouquets
Top-level fields for bouquets; required: bouquet_name
bouquet_name- Content group name
bouquet_channels- Live channels in the content group
bouquet_movies- Movies in the content group
bouquet_radios- Radio stations in the content group
bouquet_series- Series in the content group
bouquet_order- Sort position of the content group; new groups go last
updated_at- Timestamp the database updates when the group changes
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_bouquet' \
--data-urlencode 'bouquet_name=<bouquet_name>'edit_bouquet
Updates a bouquet
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
bouquet_data | json | Membership object with stream, movies, radios and series lists |
Columns of bouquets
Top-level fields for bouquets; required: bouquet_name
bouquet_name- Content group name
bouquet_channels- Live channels in the content group
bouquet_movies- Movies in the content group
bouquet_radios- Radio stations in the content group
bouquet_series- Series in the content group
bouquet_order- Sort position of the content group; new groups go last
updated_at- Timestamp the database updates when the group changes
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=edit_bouquet' \
--data-urlencode 'id=1' \
--data-urlencode 'bouquet_name=<bouquet_name>'delete_bouquet
Deletes a bouquet
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_bouquet&id=1'Transcode profiles
get_transcode_profile
Returns a transcode profile
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_transcode_profile&id=1'get_transcode_profiles
Lists transcode profiles
| Parameter | Type | Description |
|---|---|---|
show_columns | string | Comma-separated columns to include |
hide_columns | string | Comma-separated columns to omit |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_transcode_profiles'create_transcode_profile
Creates a transcode profile
Columns of profiles
Top-level fields for profiles; required: profile_name; codec, bitrate and overlay inputs generate profile_options
profile_id- Transcoding profile ID; the database assigns it on creation
profile_name- Transcoding profile name
profile_options- Encoding settings the API builds from codec, bitrate and other profile parameters
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_transcode_profile' \
--data-urlencode 'profile_name=<profile_name>'edit_transcode_profile
Updates a transcode profile
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
Columns of profiles
Top-level fields for profiles; required: profile_name; codec, bitrate and overlay inputs generate profile_options
profile_id- Transcoding profile ID; the database assigns it on creation
profile_name- Transcoding profile name
profile_options- Encoding settings the API builds from codec, bitrate and other profile parameters
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=edit_transcode_profile' \
--data-urlencode 'id=1' \
--data-urlencode 'profile_name=<profile_name>'delete_transcode_profile
Deletes a transcode profile
| Parameter | Type | Description |
|---|---|---|
id | integer | Record ID |
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_transcode_profile&id=1'
