Documentation
¶
Overview ¶
Package discord publishes the now-playing track to Discord as Rich Presence ("Listening to …") over Discord's local IPC socket. It needs a Discord application client id (configure via $OPENDEEZER_DISCORD_APP_ID or ~/.config/opendeezer/discord-app-id.txt); with none set it is a no-op.
Connection is best-effort and lazy: all IPC work runs on a dedicated worker goroutine fed by Update, so the caller (the Bubble Tea update loop) never blocks on a dial or a wedged Discord. Works on macOS/Linux (unix socket); Windows (named pipe) is currently a no-op.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.