Returns "OK" on success or "BAD REQUEST" on fail.
- NEXT - jumps to next item in playlist
- PAUSE - pauses playout
- RESUME - resumes playout
- JUMPTO [index] - jumps to specified index in playlist
- CUE [index] - cues specified index in playlist
- INSERT [index] [jsonArray of Playlist Items] - inserts Playlist items to specified index
- COPY [index], [index], [index].... - copies specified indexes to clipboard
- CUT [index], [index], [index].... - cuts specified indexes to clipboard
- PASTE [index] - pastes current clipboard items to specified index
- MOVE [sourceIndex] [targetIndex] - moves item from source index to target index
- UPDATE [index] [json of PlaylistItem] - updates item at specified index by Playlist item object
- DELETE [index], [index], [index].... - deletes items at specified indexes
- INSERTLIST [index] [playlistName] - inserts playlist from DailyPlaylist folder to specified index
- SAVE - saves current playlist
Examples:
Jump to line 23
Request: JUMPTO 23
Response: OK
Insert of 2 items to line 25
Request: INSERT 25 [{
"Metadata": {},
"SecondaryEvents": [],
"Id": 1712141101486800008,
"BSID": 261278,
"Index": 0,
"Type": 0,
"Path": "REKLAMY/Testomax.mp4",
"TrimIn": 0.0,
"TrimOut": 0.0,
"OriginalDuration": 29.0,
"Notes": "",
"Start": "0001-01-01 00:00:00",
"IsFixed": false,
"EstimatedDuration": 0.0,
"Color": null,
"EstimatedStart": "2017-12-14 12:26:45",
"Loop": false,
"Format": {
"GOP": 0,
"Volume": 0,
"IsValid": true
}
},
{
"Metadata": {},
"SecondaryEvents": [],
"Id": 1712141101486800012,
"BSID": 263551,
"Index": 0,
"Type": 0,
"Path": "SELF/PORADY/50/Vyzva_Jindrich_50.m4v",
"TrimIn": 0.0,
"TrimOut": 0.0,
"OriginalDuration": 50.0,
"Notes": "",
"Start": "0001-01-01 00:00:00",
"IsFixed": false,
"EstimatedDuration": 0.0,
"Color": null,
"EstimatedStart": "2017-12-14 12:27:24",
"Loop": false,
"Format": {
"GOP": 30,
"Volume": 0,
"IsValid": true
}
}]
Response: OK
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation