User Tools

Site Tools


programming:python:py-sonic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
programming:python:py-sonic [2013/04/28 20:28] – [getBookmarks(self)] jayprogramming:python:py-sonic [2013/04/28 20:36] – [jukeboxControl(self, action, index=None, sids=[], gain=None , offset=None)] jay
Line 1164: Line 1164:
              u'xmlns': u'http://subsonic.org/restapi'}              u'xmlns': u'http://subsonic.org/restapi'}
 </code> </code>
 +==== hls(self , mid , bitrate=None) ====
 +__Since API version: 1.9.0__
 +
 +Creates an HTTP live streaming playlist for streaming video or audio HLS is a streaming protocol implemented by Apple and works by breaking the overall stream into a sequence of small HTTP-based file downloads. It's supported by iOS and newer versions of Android. This method also supports adaptive bitrate streaming, see the bitRate parameter.
 +
 +^ Name ^ Type ^ Description ^
 +| mid | str | The ID of the media to stream |
 +| bitrate | str | |
 +
 +Returns the raw m3u8 file as a string
 +
 ==== jukeboxControl(self, action, index=None, sids=[], gain=None , offset=None) ==== ==== jukeboxControl(self, action, index=None, sids=[], gain=None , offset=None) ====
 __Since API version: 1.2.0__ __Since API version: 1.2.0__
programming/python/py-sonic.txt · Last modified: 2024/01/01 17:13 by jay