Pick a random song, podcast episode or video and redirect (302) to its stream url
Picks a random song, podcast episode or video from the whole library and redirects (302) to its stream url. Ampache 8.0.0+
Query parameters
Object type to pick a random item from (default: song). artist accepts either artist credit; song_artist and album_artist narrow it to one
Parent object id to pick from. It is read against the table named by type, and those id spaces overlap, so an album id and an album_disk id of the same number are different objects. favorite reads it as 1 (or omitted) for flagged and 0 for not flagged; rating as 1-5 for that many stars or more, 0 for unrated, omitted for any rated song
Max bitrate for transcoding in bits per second (e.g 192000 = 192Kb). Song only
Target stream format e.g. 'mp3', 'ogg'; use 'raw' to skip transcoding. Song only
Return results starting from this index position
If 0, disable stat recording when playing the object (default: 1)