Discord Rich Presence for MPD written in Go

mpdcord

Installation

Builds mpdcord locally and places the binary at $GOPATH/bin/mpdcord (defaults to ~/go/bin/mpdcord). You need to install Go for this to work.

# latest stable
go install github.com/bandithedoge/mpdcord

# latest unstable
go install github.com/bandithedoge/mpdcord@latest

Usage

usage: mpdcord [-h|--help] [-c|--config "<value>"] [-v|--verbose]

               Discord Rich Presence for MPD written in Go

Arguments:

  -h  --help     Print help information
  -c  --config   Specify non-standard config path. Default:
                 $XDG_CONFIG_HOME/mpdcord.toml
  -v  --verbose  Output additional information, useful for debugging. Default:
                 false

Configuration

Everything is configured in a TOML file located at $XDG_CONFIG_HOME/mpdcord.toml (defaults to ~/.config/mpdcord.toml). Here is an example configuration populated with default values:

# Note: keys are not case-sensitive.

# Discord API application ID, use this to customize title and images
ID = 922175995828654100
# Where to connect to MPD
Address = "localhost:6600"
# How to connect to MPD
Network = "tcp"
# Optional MPD password
Password = ""

# All the formatting is done using values wrapped in curly braces, for example "{title}"
# Possible values: 
#   "album",
#   "albumartist",
#   "albums",
#   "artist",
#   "artists",
#   "audio",
#   "bitrate",
#   "composer",
#   "conductor",
#   "consume",
#   "date",
#   "disc",
#   "ensemble",
#   "genre",
#   "grouping",
#   "label",
#   "location",
#   "movement",
#   "movementnumber",
#   "originaldate",
#   "performer",
#   "playlistlength",
#   "random",
#   "repeat",
#   "single",
#   "songs",
#   "title",
#   "track",
#   "volume",
#   "work"

[Format]
  # First line
  Details = "{title}"
  # Second line
  State = "{artist}"
  # Text to display when hovering over the large image
  LargeText = "{album}"
  # Time display type:
  #   - true: "XX:XX left"
  #   - false: "XX:XX elapsed"
  Remaining = false
Owner
console homebrew enthusiast, co-creator of switch-pl
null
Similar Resources

discord exploit tools written in golang

The ultimate CLI tool for TiKV

Aug 19, 2021

An easy-to-use discord bot template written in golang using discordgo

Discord Bot An easy-to-use discord bot template written in golang using discordgo. This template was written for learning golang. It will be updated a

Oct 30, 2021

A tool written in GO to demonstrate how bad actors utilize requests to spam Discord Users and launch large unsolicited DM Advertisement Campaigns

A tool written in GO to demonstrate how bad actors utilize requests to spam Discord Users and launch large unsolicited DM Advertisement Campaigns

discord-mass-DM-GO A tool written in GO to demonstrate how bad actors utilize requests to spam Discord Users and launch large unsolicited DM Advertise

Jan 2, 2023

✨ Fastest Feature-packed Discord Token Checker written in GO ✨

✨ Fastest Feature-packed Discord Token Checker written in GO ✨

FAST-discord-token-checker ✨ Fastest Feature-packed Discord Token Checker written in GO ✨ Overview 🔍 This program is the fastest ever written Discord

Dec 29, 2022

Discord Bot written in Go. Created for 'Intro to Golang', Fall 21

goDiscordBot Discord Bot written in Go. Created for 'Intro to Golang', Fall 21 Session where we coded the bot (goes over setup steps): https://gdsc.co

Nov 3, 2021

Fastest light-weight Discord server joiner written in GO

Fastest light-weight Discord server joiner written in GO

DiscordInviterGO! Fastest light-weight Discord server joiner written in GO Disclaimer For Educational purposes only. Use at your own risk. Automation

Jan 3, 2023

Discord Nitro sniper Written in Golang

Discord Nitro sniper Written in Golang

Discord Nitro sniper Written in GO lang 👋 Wow this looks like Slows Sniper Maybe the same src 😲 Features Multiple accounts support to claim on one m

Jan 10, 2022

A Discord Bot written in Go. Provides some fun commands and utility.

asuka About Asuka is a project to finally learn Golang and get comfortable with the language while exploring many different concepts in programming. A

Jan 7, 2022

Discord token grabber written in go please read the liability disclaimer before using it

Discord token grabber written in go please read the liability disclaimer before using it

Discord Token Grabber Written in Go ! Liability Disclaimer ⚠ The use of this sof

Jan 1, 2023
Related tags
A Discord bot for managing ephemeral roles based upon voice channel member presence.
A Discord bot for managing ephemeral roles based upon voice channel member presence.

ephemeral-roles A Discord bot for managing ephemeral roles based upon voice channel member presence. Quickstart Click on the Ephemeral Roles logo head

Dec 19, 2022
Discordo is a lightweight, secure, and feature-rich Discord terminal client.
Discordo is a lightweight, secure, and feature-rich Discord terminal client.

discordo · [WIP] Discordo is a lightweight, secure, and feature-rich Discord terminal client. It is highly configurable and has a minimalistic user in

Jan 5, 2023
discord bot that plays music in a voice channel discord

Music discord bot by serje3 Description A bot written in the Golang language plays music on your server's voice channel on Discord. It can be built an

Nov 17, 2021
A simple Discord bot developed for the Bedrock Gophers discord server.

Bedrock Gopher A simple Discord bot developed for the Bedrock Gophers discord server. Click here to invite the bot to your guild. You will also need t

Mar 12, 2022
Discord-dl: a tool to archive discord channels

discord-dl discord-dl is a tool to archive discord channels. I think it's safe t

May 18, 2022
Discord-notif - Send notifications to discord in Your pipelines or scripts
Discord-notif - Send notifications to discord in Your pipelines or scripts

discord-notif Send notifications to discord in Your pipelines or scripts install

Dec 15, 2022
Discord-finder - The back-end for retrieving information about people on discord
Discord-finder - The back-end for retrieving information about people on discord

About This is the backend application for Discord Finder, it allows you to retrive information about people on discord just like the discord lookup we

Jan 4, 2022
Discord-bot - A Discord bot with golang

JS discord bots Install Clone repo git clone https://github.com/fu-js/discord-bo

Aug 2, 2022
Wipe-discord - TUI application to erase Discord messages
Wipe-discord - TUI application to erase Discord messages

wipe-discord Terminal user interface (TUI) application to delete Discord message

Aug 21, 2022
An easy-to-use discord bot written in go

Discord Bot An easy-to-use discord bot template written in golang using discordgo. This template was written for learning golang. It will be updated a

Jan 23, 2022