[PR #17] [MERGED] Added config options #1389

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

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/mpd-discord-rpc/pull/17
Author: @OliverKovacs
Created: 2/21/2022
Status: Merged
Merged: 2/21/2022
Merged by: @JakeStanger

Base: masterHead: master


📝 Commits (1)

📊 Changes

5 files changed (+80 additions, -6 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 README.md (+8 -0)
📝 src/config.rs (+20 -2)
📝 src/defaults.rs (+4 -0)
📝 src/main.rs (+47 -4)

📄 Description

Added the config options large_image and small_image for choosing the name of the rich presence asset that gets displayed as the corresponding image. This enables displaying two different images or disabling them by setting keys to "".

Also added the config options large_text and small_text with format strings that get displayed upon hovering the corresponding image. They can be disabled by setting the keys to "".

Closes #15


🔄 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/17 **Author:** [@OliverKovacs](https://github.com/OliverKovacs) **Created:** 2/21/2022 **Status:** ✅ Merged **Merged:** 2/21/2022 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`fc2d840`](https://github.com/JakeStanger/mpd-discord-rpc/commit/fc2d840d1c1f10cfb2ee8289a309d33240080d28) Added new config options ### 📊 Changes **5 files changed** (+80 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `README.md` (+8 -0) 📝 `src/config.rs` (+20 -2) 📝 `src/defaults.rs` (+4 -0) 📝 `src/main.rs` (+47 -4) </details> ### 📄 Description Added the config options `large_image` and `small_image` for choosing the name of the rich presence asset that gets displayed as the corresponding image. This enables displaying two different images or disabling them by setting keys to `""`. Also added the config options `large_text` and `small_text` with format strings that get displayed upon hovering the corresponding image. They can be disabled by setting the keys to `""`. Closes #15 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 02:58:13 +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#1389
No description provided.