Skip to content

SoundByte Track Protocol

Dominic Maas edited this page May 22, 2020 · 1 revision

SoundByte Track Protocol

Outdated: From Dec 7, 2018

Introduction

The SoundByte Track Protocol allows users and applications to start playing music in SoundByte via an URL. The Protocol consists of encoded data that SoundByte can read and parse. This document aims to explain how this data is encoded, and also provides examples in multiple languages to call the SoundByte track protocol.

Data

Base Url

sb://track?d={encoded}

Parameters

Param Description Optional
t Current playing track. Yes
tp Current playing track position. Yes
s Source name / id (depending on the version) Yes
sd Source details (some sources require extra details). Yes
pt Playlist token, API token stating where the next data will be. Yes
p Encoded playlist list (see below) Yes
is Is shuffled (t) Yes
  • Connect with & seperators.
  • Compress string using gzip
  • Url encode string
  • add encoded string to d param.

TODO

Changelog

TODO

Examples

C#

TODO

JavaScript

TODO

Dart

TODO
Clone this wiki locally