Open main menu

Ace Stream Wiki β

Changes

Playlist API

No change in size, 17:34, 1 February 2018
no edit summary
==Examples==
'''Get playlist in "acestreamm3u" format:'''
Request:
<nowiki>http://127.0.0.1:6878/playlist/get?format=acestreamm3u</nowiki>
Response:
 
#EXTM3U
#EXTINF:-1,Test Channel 1
acestream<nowiki>http://127.0.0.1:6878/ace/getstream?id=acbfd1954084ffc68c65b0948485e5d0f82173e2&hlc=1&transcode_audio=0 &transcode_mp3=0&transcode_ac3=0&preferred_audio_language=eng</nowiki>
#EXTINF:-1 acestream-autosearch="1",Test Channel 2
magnet<nowiki>http://127.0.0.1:6878/ace/getstream?xtinfohash=urn:btih:7889e5f0cea9b72f5dcd7a9c67e665c7f4f5b3eb&hlc=1&transcode_audio=0 &transcode_mp3=0&transcode_ac3=0&preferred_audio_language=eng</nowiki>
'''Get playlist in "m3uacestream" format:'''
Request:
<nowiki>http://127.0.0.1:6878/playlist/get?format=m3uacestream</nowiki>
Response:
 
#EXTM3U
#EXTINF:-1,Test Channel 1
<nowiki>httpacestream://127.0.0.1:6878/ace/getstream?id=acbfd1954084ffc68c65b0948485e5d0f82173e2&hlc=1&transcode_audio=0 &transcode_mp3=0&transcode_ac3=0&preferred_audio_language=eng</nowiki>
#EXTINF:-1 acestream-autosearch="1",Test Channel 2
<nowiki>httpmagnet://127.0.0.1:6878/ace/getstream?infohashxt=urn:btih:7889e5f0cea9b72f5dcd7a9c67e665c7f4f5b3eb&hlc=1&transcode_audio=0 &transcode_mp3=0&transcode_ac3=0&preferred_audio_language=eng</nowiki>