Documentation
¶
Overview ¶
player streams, decrypts and plays a small queue of tracks in-process with gapless transitions: PrepareStream resolves each track, sdk/player plays it, SetOnFinish advances the queue, and Preload hands the next track to the engine before the current one ends so the transition has no silence.
Usage: DEEZER_ARL=<your_arl> go run ./examples/player [track_id ...]
Example:
DEEZER_ARL=$ARL go run ./examples/player 3135556 3135554 3135553
Requires cgo and an audio output device (it will not start on a headless machine). Without DEEZER_ARL it prints what it would do and exits.
Click to show internal directories.
Click to hide internal directories.