Streaming and Downloads

Pick a random song, podcast episode or video and redirect (302) to its stream url

get/random

Query parameters

type'song' | 'podcast_episode' | 'video'

Object type to pick a random item from (default: song)

bitrateinteger

Max bitrate for transcoding in bytes (e.g 192000=192Kb). Song only

formatstring

Target stream format e.g. 'mp3', 'ogg'; use 'raw' to skip transcoding. Song only

offsetinteger

Time offset in seconds

stats0 | 1

If 0, disable stat recording when playing the object (default: 1)

Changes