[PR #81] [MERGED] Fix/missing duration crash #1438

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

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/mpd-discord-rpc/pull/81
Author: @JakeStanger
Created: 10/10/2023
Status: Merged
Merged: 10/10/2023
Merged by: @JakeStanger

Base: masterHead: fix/missing-duration-crash


📝 Commits (2)

  • 558c3e1 fix: crashes when duration/elapsed missing
  • 3b46dcc refactor: fix clippy warnings

📊 Changes

4 files changed (+20 additions, -20 deletions)

View changed files

📝 Cargo.lock (+3 -2)
📝 Cargo.toml (+1 -0)
📝 src/main.rs (+3 -3)
📝 src/mpd_conn.rs (+13 -15)

📄 Description

fix: crashes when duration/elapsed missing

Fixes #80


🔄 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/81 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 10/10/2023 **Status:** ✅ Merged **Merged:** 10/10/2023 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `fix/missing-duration-crash` --- ### 📝 Commits (2) - [`558c3e1`](https://github.com/JakeStanger/mpd-discord-rpc/commit/558c3e19b0964a8165b1360763ff5d73f44a8c1f) fix: crashes when duration/elapsed missing - [`3b46dcc`](https://github.com/JakeStanger/mpd-discord-rpc/commit/3b46dcc6bb454ecc0a8da44aec2bb4e86ac3c7bf) refactor: fix clippy warnings ### 📊 Changes **4 files changed** (+20 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+3 -2) 📝 `Cargo.toml` (+1 -0) 📝 `src/main.rs` (+3 -3) 📝 `src/mpd_conn.rs` (+13 -15) </details> ### 📄 Description [fix: crashes when duration/elapsed missing](https://github.com/JakeStanger/mpd-discord-rpc/commit/558c3e19b0964a8165b1360763ff5d73f44a8c1f) Fixes #80 --- <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:20 +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#1438
No description provided.