NexgenStreamerNexgenStreamer
Docs menu

Catalogue

Episodes belong to a series. Use bouquets to group catalogue entries for access through lines and packages.

Categories

get_category

Returns a category

ParameterTypeDescription
idinteger
Required
Record ID
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
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

ParameterTypeDescription
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
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
One of live, movie, series or radio
category_name
Category name shown in the console and to players
Text, up to 255 characters
parent_id
Parent category of the same content type; 0 means top level
Integer · Default 0
cat_order
Sort position of the category; new categories get 99
Integer · Default 0
is_adult
Marks the category as adult content in the console
Flag: sending the parameter with any value stores 1, omitting it stores 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
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
One of live, movie, series or radio
category_name
Category name shown in the console and to players
Text, up to 255 characters
parent_id
Parent category of the same content type; 0 means top level
Integer · Default 0
cat_order
Sort position of the category; new categories get 99
Integer · Default 0
is_adult
Marks the category as adult content in the console
Flag: sending the parameter with any value stores 1, omitting it stores 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_category&id=1'

Live streams

get_stream

Returns a live stream

ParameterTypeDescription
idinteger
Required
Record ID
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
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

ParameterTypeDescription
stream_sourcejson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
stream_sourcejson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_stream&id=1'

Created channels

get_channel

Returns a created channel

ParameterTypeDescription
idinteger
Required
Record ID
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
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

ParameterTypeDescription
video_filesjson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
video_filesjson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_channel&id=1'

Radio stations

get_station

Returns a radio station

ParameterTypeDescription
idinteger
Required
Record ID
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
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

ParameterTypeDescription
stream_sourcejson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
stream_sourcejson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_station&id=1'

Movies

get_movie

Returns a movie

ParameterTypeDescription
idinteger
Required
Record ID
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
Comma-separated columns to omit
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_movie&id=1'

create_movie

Creates a movie

ParameterTypeDescription
stream_sourcejson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
Placement tree; omitting it on edit preserves existing assignments
m3u_filefile
Optional
Multipart M3U upload
reviewjson
Optional
Movie import records
import_folderstring
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
stream_sourcejson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
Placement tree; omitting it on edit preserves existing assignments
m3u_filefile
Optional
Multipart M3U upload
reviewjson
Optional
Movie import records
import_folderstring
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_movie&id=1'

Series

get_series

Returns a series

ParameterTypeDescription
idinteger
Required
Record ID
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
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
Text, up to 255 characters
category_id
Categories assigned to the series
JSON array of IDs, e.g. [1,4]
cover
Series poster URL
Text, up to 255 characters
cover_big
Legacy poster field filled from cover when saving
Text, up to 255 characters
genre
Genre shown in the catalog
Text, up to 255 characters
plot
Series synopsis
Text
cast
Cast listed in the catalog
Text
rating
Series rating shown when no separate rating is available
Integer
director
Series director
Text, up to 255 characters
release_date
Series release date
Text, up to 255 characters
last_modified
Time the series or its episode links were last changed
Unix timestamp in seconds, e.g. 1800000000
tmdb_id
TMDb ID for the series
Integer
seasons
Season metadata returned with series details
Text
episode_run_time
Typical episode length in minutes
Integer · Default 0
backdrop_path
Backdrop image for the series
Send one URL, e.g. https://example.com/backdrop.jpg; it is stored in a JSON array
youtube_trailer
YouTube trailer shown in series details
Text
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 50 characters
year
Series release year
Integer
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_series' \
  --data-urlencode 'title=<title>'

edit_series

Updates a series

ParameterTypeDescription
idinteger
Required
Record ID

Columns of streams_series

Top-level fields for streams_series; required: title

title
Series title shown in the catalog
Text, up to 255 characters
category_id
Categories assigned to the series
JSON array of IDs, e.g. [1,4]
cover
Series poster URL
Text, up to 255 characters
cover_big
Legacy poster field filled from cover when saving
Text, up to 255 characters
genre
Genre shown in the catalog
Text, up to 255 characters
plot
Series synopsis
Text
cast
Cast listed in the catalog
Text
rating
Series rating shown when no separate rating is available
Integer
director
Series director
Text, up to 255 characters
release_date
Series release date
Text, up to 255 characters
last_modified
Time the series or its episode links were last changed
Unix timestamp in seconds, e.g. 1800000000
tmdb_id
TMDb ID for the series
Integer
seasons
Season metadata returned with series details
Text
episode_run_time
Typical episode length in minutes
Integer · Default 0
backdrop_path
Backdrop image for the series
Send one URL, e.g. https://example.com/backdrop.jpg; it is stored in a JSON array
youtube_trailer
YouTube trailer shown in series details
Text
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 50 characters
year
Series release year
Integer
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
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

ParameterTypeDescription
idinteger
Required
Record ID
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_series&id=1'

Episodes

get_episode

Returns an episode

ParameterTypeDescription
idinteger
Required
Record ID
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
Comma-separated columns to omit
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_episode&id=1'

create_episode

Creates an episode

ParameterTypeDescription
stream_sourcejson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
Placement tree; omitting it on edit preserves existing assignments
multiboolean
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
stream_sourcejson
Optional
Sources as a list or a single string
server_tree_datajson
Optional
Placement tree; omitting it on edit preserves existing assignments
multiboolean
Optional
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
Codes: 1 live, 2 movie, 3 created channel, 4 radio, 5 episode
category_id
Categories assigned to the stream
JSON array of IDs, e.g. [1,4]
stream_display_name
Name shown in the catalog
Text
stream_source
Stream sources; created channels take their input from video_files instead
A source string or a JSON array such as ["https://example.com/live.ts"]
stream_icon
Stream logo or artwork
HTTP or HTTPS URL, e.g. https://example.com/logo.png, or an s: reference
notes
Internal notes for operators
Text
enable_transcode
Enables the selected transcoding profile and is set to 1 when a positive profile ID is supplied
Integer · Default 0
transcode_attributes
Stored for XUI compatibility; not used by NexgenStreamer
Text
custom_ffmpeg
Stored for XUI compatibility; not used by NexgenStreamer
Text
movie_properties
Metadata for a movie or episode, or the playback type for a created channel
JSON object, e.g. {"plot":"A short description"}
movie_subtitles
Subtitle file for a movie or episode
Colon-separated prefix, location ID and path, e.g. s:1:/media/subtitles.srt
read_native
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
target_container
File extension reported to players for a movie or episode
Text
stream_all
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
remove_subtitles
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
custom_sid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 150 characters
epg_api
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
epg_id
ID of the program guide source
Integer
channel_id
Channel identifier in the program guide source
Text, up to 255 characters
epg_lang
Guide language recorded in the console for the stream
Text, up to 255 characters
order
Sort position in the catalog
Integer · Default 0
auto_restart
Stored for XUI compatibility; not used by NexgenStreamer
Text
transcode_profile_id
ID of the transcoding profile; a positive ID also enables transcoding
Integer · Default 0
gen_timestamps
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 1
added
Creation time set by the API
Unix timestamp in seconds, e.g. 1800000000
series_no
ID of the series whose episodes supply a created channel in series mode
Integer · Default 0
direct_source
Selects direct source delivery when direct_proxy is off
Send the parameter to store 1 or omit it to store 0 · Default 0
tv_archive_duration
Number of days to keep for catch-up; 0 turns it off
Integer · Default 0
tv_archive_server_id
ID of the archive server for catch-up
Integer · Default 0
tv_archive_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_server_id
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
vframes_pid
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
movie_symlink
When set for a movie or episode, the API prefers the source extension as the target container
Send the parameter to store 1 or omit it to store 0 · Default 0
rtmp_output
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
allow_record
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
probesize_ondemand
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 128000
custom_map
Stored for XUI compatibility; not used by NexgenStreamer
Text
external_push
Stored for XUI compatibility; not used by NexgenStreamer
Text
delay_minutes
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
tmdb_language
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 64 characters
llod
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
year
Release year shown in the catalog
Integer
rating
Rating shown in the catalog
Decimal number · Default 0
plex_uuid
Stored for XUI compatibility; not used by NexgenStreamer
Text, up to 256 characters · Default ''
epg_offset
Time offset in hours applied to the stream’s program guide
Integer · Default 0
updated
Timestamp the database updates when the row changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
similar
Stored for XUI compatibility; not used by NexgenStreamer
Text
tmdb_id
TMDb ID for the movie or episode
Integer
adaptive_link
Stored for XUI compatibility; not used by NexgenStreamer
Text
title_sync
Copies the name from a provider stream when the record is saved
Provider ID and stream ID separated by an underscore, e.g. 2_54
fps_restart
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 0
fps_threshold
Stored for XUI compatibility; not used by NexgenStreamer
Integer · Default 90
direct_proxy
Selects direct proxy delivery in the console when direct_source is off
Send the parameter to store 1 or omit it to store 0 · Default 0
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

ParameterTypeDescription
idinteger
Required
Record ID
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_episode&id=1'

Bouquets

get_bouquet

Returns a bouquet

ParameterTypeDescription
idinteger
Required
Record ID
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
Comma-separated columns to omit
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_bouquet&id=1'

get_bouquets

Lists bouquets

ParameterTypeDescription
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
Comma-separated columns to omit
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=get_bouquets'

create_bouquet

Creates a bouquet

ParameterTypeDescription
bouquet_datajson
Optional
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
Text
bouquet_channels
Live channels in the content group
JSON array of IDs, e.g. [1,4]
bouquet_movies
Movies in the content group
JSON array of IDs, e.g. [1,4]
bouquet_radios
Radio stations in the content group
JSON array of IDs, e.g. [1,4]
bouquet_series
Series in the content group
JSON array of IDs, e.g. [1,4]
bouquet_order
Sort position of the content group; new groups go last
Integer · Default 0
updated_at
Timestamp the database updates when the group changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=create_bouquet' \
  --data-urlencode 'bouquet_name=<bouquet_name>'

edit_bouquet

Updates a bouquet

ParameterTypeDescription
idinteger
Required
Record ID
bouquet_datajson
Optional
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
Text
bouquet_channels
Live channels in the content group
JSON array of IDs, e.g. [1,4]
bouquet_movies
Movies in the content group
JSON array of IDs, e.g. [1,4]
bouquet_radios
Radio stations in the content group
JSON array of IDs, e.g. [1,4]
bouquet_series
Series in the content group
JSON array of IDs, e.g. [1,4]
bouquet_order
Sort position of the content group; new groups go last
Integer · Default 0
updated_at
Timestamp the database updates when the group changes
Date and time, YYYY-MM-DD HH:MM:SS · Default current_timestamp()
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

ParameterTypeDescription
idinteger
Required
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

ParameterTypeDescription
idinteger
Required
Record ID
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
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

ParameterTypeDescription
show_columnsstring
Optional
Comma-separated columns to include
hide_columnsstring
Optional
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
Integer
profile_name
Transcoding profile name
Text, up to 255 characters
profile_options
Encoding settings the API builds from codec, bitrate and other profile parameters
Text
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

ParameterTypeDescription
idinteger
Required
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
Integer
profile_name
Transcoding profile name
Text, up to 255 characters
profile_options
Encoding settings the API builds from codec, bitrate and other profile parameters
Text
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

ParameterTypeDescription
idinteger
Required
Record ID
curl -sS 'http://<server>/<access_code>/?api_key=<key>&action=delete_transcode_profile&id=1'