programming:python:py-sonic
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programming:python:py-sonic [2013/04/28 20:36] – [jukeboxControl(self, action, index=None, sids=[], gain=None , offset=None)] jay | programming:python:py-sonic [2024/01/01 17:13] (current) – [scrobble(self, sid, submission=True)] jay | ||
---|---|---|---|
Line 14: | Line 14: | ||
**NOTE:** The RPMs are **not** guaranteed to be the latest versions. | **NOTE:** The RPMs are **not** guaranteed to be the latest versions. | ||
- | {{: | + | {{: |
- | {{: | + | {{: |
===== Donations ===== | ===== Donations ===== | ||
Line 101: | Line 101: | ||
**UPDATE to the UPDATE: | **UPDATE to the UPDATE: | ||
- | ==== Important Notes About API Version 1.8.0 ==== | + | ==== Important Notes About API Version 1.8.0 (and later) |
It's important to note that Subsonic API version 1.8.0 added some methods that are not compatible with previous methods. | It's important to note that Subsonic API version 1.8.0 added some methods that are not compatible with previous methods. | ||
Line 1171: | Line 1171: | ||
^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| mid | str | The ID of the media to stream | | | mid | str | The ID of the media to stream | | ||
- | | bitrate | str | | | + | | bitrate | str | If specified, the server will attempt to limit the bitrate to this value, in kilobits per second. If this parameter is specified more than once, the server will create a variant playlist, suitable for adaptive bitrate streaming. The playlist will support streaming at all the specified bitrates. |
Returns the raw m3u8 file as a string | Returns the raw m3u8 file as a string | ||
Line 1216: | Line 1216: | ||
| sid | str | The ID of the file to scrobble | | | sid | str | The ID of the file to scrobble | | ||
| submission | bool | Whether this is a " | | submission | bool | Whether this is a " | ||
+ | | listenTime | int | The unix timestamp for the listen to scrobble. | | ||
Returns a dict like the following: | Returns a dict like the following: |
programming/python/py-sonic.1367181372.txt.gz · Last modified: 2013/04/28 20:36 by jay