From: Jaroslav Kysela Date: Fri, 6 May 2016 13:39:39 +0000 (+0200) Subject: mdhelp: add another appendix with export URLs description X-Git-Tag: v4.2.1~566 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fca7beddcff311f7a91dd411a496d8091e301521;p=thirdparty%2Ftvheadend.git mdhelp: add another appendix with export URLs description --- diff --git a/docs/markdown/toc.md b/docs/markdown/toc.md index f9a8623f1..0afa8729e 100644 --- a/docs/markdown/toc.md +++ b/docs/markdown/toc.md @@ -105,10 +105,11 @@ Web Status Tab Appendices - - [Appendix 1 - FAQ](faqs) - - [Appendix 2 - Command-line Options](cmdline_options) - - [Appendix 3 - Debugging Options](debugging) - - [Appendix 4 - Updating this documentation](doc_update) - - [Appendix 5 - Markdown Cribsheet](markdown_cribsheet) + - [Appendix 1 - URL syntax (Exports)](url) + - [Appendix 2 - FAQ](faqs) + - [Appendix 3 - Command-line Options](cmdline_options) + - [Appendix 4 - Debugging Options](debugging) + - [Appendix 5 - Updating this documentation](doc_update) + - [Appendix 6 - Markdown Cribsheet](markdown_cribsheet) [About](about) diff --git a/docs/markdown/url.md b/docs/markdown/url.md new file mode 100644 index 000000000..6a75e05f0 --- /dev/null +++ b/docs/markdown/url.md @@ -0,0 +1,84 @@ +## URL syntax + +Please, add `http://IP:Port` to complete the URL. + +### /play/REMAIN + +Return the playlist in *xspf* or *m3u* format. If the agent is in the list +of direct agents (like wget/curl/vlc), the stream is returned instead. + +The remain part can be any URL starting with /stream . + +Option | Explanation +---------|------------------------------------------ +playlist | Playlist type, can be *xspf* or *m3u* + +**Example:** `http://127.0.0.1:9981/play/stream/channelname/Life?playlist=xspf` + +### /playlist[/TYPE][/WHAT][/IDENTIFIER] + +Return the m3u playlist in Enigma2 format. By default (if the rest of path +is ommitted), an redirection answer will be sent where /channels remainder +is used. + +TYPE | Playlist type +--------------|---------------------------------------- +*empty* | M3U +e2 | Enigma2 +satip | M3U using SAT>IP extensions + +WHAT | Playlist contents +--------------|------------------------------------------------------------ +channels | All channels +tags | All tags, for Enigma2 - tags are converted to labels +recordings | All recordings +channelnumber | One channel specified by channel number +channelname | One channel specified by channel name +channelid | One channel specified by short channel ID +tag | Tagged channels specified by UUID or tag name +tagname | Tagged channels specified by tag name +tagid | Tagged channels specified by short tag ID +dvrid | One DVR record specified by short DVR ID + +Option | Explanation +---------|------------------------------------------------------------------------------ +profile | Override streaming profile, otherwise the default profile for the user is used. + +### /stream/WHAT/IDENTIFIER + +This URL scheme is used for streaming. The stream contents depends on the +streaming profile. It might be MPEG-TS, Matroska or MP4. + +WHAT | Stream for +--------------|------------------------------------------------------------ +channelnumber | Channel specified by channel number +channelname | Channel specified by channel name +channel | Channel specified by channel UUID +channelid | Channel specified by short channel ID +service | Service specified by service UUID +mux | Mux specified by mux UUID + +Option | Explanation +-----------|------------------------------------------------------------------------------ +profile | (except /mux) Override streaming profile +weight | Override subscription weight +qsize | Override queue size in bytes (default value is 1500000 for channel/service, 10000000 for mux) +descramble | (/service only) do not descramble (if set to 0) +emm | (/service only) pass EMM to the stream (if set to 1) +pids | (/mux only) list of subscribed PIDs (comma separated) + +### /xmltv[/WHAT][/IDENTIFIER] + +Return the XMLTV EPG export. By default (if the rest of path +is ommitted), an redirection answer will be sent where /channels remainder +is used. + +WHAT | Playlist contents +--------------|------------------------------------------------------------ +channels | All channels +channelnumber | One channel specified by channel number +channelname | One channel specified by channel name +channelid | One channel specified by short channel ID +tag | Tagged channels specified by UUID or tag name +tagname | Tagged channels specified by tag name +tagid | Tagged channels specified by short tag ID