player

command
v3.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL