[PR #2] [MERGED] Add formatting configuration options #849

Closed
opened 2026-05-23 00:58:23 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/mpd-discord-rpc/pull/2
Author: @JakeStanger
Created: 3/11/2020
Status: Merged
Merged: 3/13/2020
Merged by: @JakeStanger

Base: masterHead: feat/formatting-config


📝 Commits (10+)

  • 4388893 docs: add keywords
  • 1caf5fd Merge branch 'master' of github.com:JakeStanger/mpd-discord-rpc
  • 713313b chore: add regex support
  • 8f50f82 feat: add config option for formatting with token support
  • 468b958 docs(readme): add new config option details, badges
  • e11a403 feat: elapsed support
  • 78956ae refactor: run formatter, fix config indentation
  • 7d0cc25 Fancier error handling in that match statement
  • e94b5de static -> const
  • 7f92219 Removed some unessesarry references

📊 Changes

4 files changed (+159 additions, -14 deletions)

View changed files

📝 Cargo.lock (+43 -0)
📝 Cargo.toml (+2 -0)
📝 README.md (+36 -1)
📝 src/main.rs (+78 -13)

📄 Description

Adds ability to configure the formatting of the details and state strings in Discord.

Includes support for tokens within the string to use MPD values. More details in updated readme.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/mpd-discord-rpc/pull/2 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 3/11/2020 **Status:** ✅ Merged **Merged:** 3/13/2020 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `feat/formatting-config` --- ### 📝 Commits (10+) - [`4388893`](https://github.com/JakeStanger/mpd-discord-rpc/commit/438889376b825a0e6932f008cec3cba637bf4930) docs: add keywords - [`1caf5fd`](https://github.com/JakeStanger/mpd-discord-rpc/commit/1caf5fdcf855486e195ba2610fa4f3b29966b880) Merge branch 'master' of github.com:JakeStanger/mpd-discord-rpc - [`713313b`](https://github.com/JakeStanger/mpd-discord-rpc/commit/713313b5f877b0ddf37f9d3db9b51a935045d292) chore: add regex support - [`8f50f82`](https://github.com/JakeStanger/mpd-discord-rpc/commit/8f50f82148e458f7e6ad987334b2fbd56f4a5651) feat: add config option for formatting with token support - [`468b958`](https://github.com/JakeStanger/mpd-discord-rpc/commit/468b958dfb3c24e2115cfee4d401586fd55e9e1b) docs(readme): add new config option details, badges - [`e11a403`](https://github.com/JakeStanger/mpd-discord-rpc/commit/e11a403740f9425a63d4d331ad273f7433b61d22) feat: elapsed support - [`78956ae`](https://github.com/JakeStanger/mpd-discord-rpc/commit/78956aed998efb67e0b606a932107477c5eaf97e) refactor: run formatter, fix config indentation - [`7d0cc25`](https://github.com/JakeStanger/mpd-discord-rpc/commit/7d0cc25262acad74f16d1087fc451545a1113c58) Fancier error handling in that match statement - [`e94b5de`](https://github.com/JakeStanger/mpd-discord-rpc/commit/e94b5de02c1b477548a44a64a201f0ef5f781af5) static -> const - [`7f92219`](https://github.com/JakeStanger/mpd-discord-rpc/commit/7f922195cbe3706d919f474783fda789a4bccf52) Removed some unessesarry references ### 📊 Changes **4 files changed** (+159 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+43 -0) 📝 `Cargo.toml` (+2 -0) 📝 `README.md` (+36 -1) 📝 `src/main.rs` (+78 -13) </details> ### 📄 Description Adds ability to configure the formatting of the details and state strings in Discord. Includes support for tokens within the string to use MPD values. More details in updated readme. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 00:58:23 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/mpd-discord-rpc#849
No description provided.