Changes

Jump to: navigation, search

Playlist API

4 bytes removed, 17:53, 1 February 2018
no edit summary
==Brief description==
Playlist API allows to export playlist from Ace Stream Media Server in different formats.
- hls
---
Playlist output formats explained.
==Playlist output formats=="acestream" format is used to export playlist in such way so that it can be imported in the Ace Stream software running somewhere else.
At the moment we use M3U format with some additional fields, specific to Ace Stream.
Each playlist item is identified either by Content ID (start with acestream://) or infohash (starts with magnet:). Infohash is used when Content ID is not available for some playlist item.
"m3u" format is intented for different media players.
---
Examples:
--==Examples==
Get playlist in "acestream" format.
magnet:?xt=urn:btih:7889e5f0cea9b72f5dcd7a9c67e665c7f4f5b3eb
--
Get playlist in "m3u" format.
 
Request:
http://127.0.0.1:6878/playlist/get?format=m3u
http://127.0.0.1:6878/ace/getstream?infohash=7889e5f0cea9b72f5dcd7a9c67e665c7f4f5b3eb&hlc=1&transcode_audio=0&transcode_mp3=0&transcode_ac3=0&preferred_audio_language=eng
--
Get playlist in "json" format.
 
Request:
http://127.0.0.1:6878/playlist/get?format=json

Navigation menu