mirror of
https://github.com/JakeStanger/mpd-discord-rpc.git
synced 2026-07-11 09:15:30 +01:00
[GH-ISSUE #80] Feature Request: Internet Radio Support #825
Labels
No labels
bug
enhancement
help wanted
package
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/mpd-discord-rpc#825
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Daxot on GitHub (Oct 10, 2023).
Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/80
Would be cool if this program would support Internet Radio (.m3u, .pls and etc)
For now, if mpd plays internet radio mpd-discord-rpc crashes with this error:
Internet Radio usually doesn't have any info about
$durationof the song. I think album cover will not work too, because MPD doesn't provide any information about$albumor$artist(at least i don't see them in ncmpcpp) and$titlein MPD consist of two parts:$artist-$titleprovided by Internet Radio@JakeStanger commented on GitHub (Oct 10, 2023):
Hey, I've just written a fix for the crash, which I'll merge in a few mins. Album art will already gracefully fall back if nothing can be found so that shouldn't be a problem.
I won't be able to do anything smart to try and interpret the album/artist if that's not set in the correct fields. I think that's down to the radio provider the format they pick, and it would likely cause all sorts of collisions (if any artist or song title has a
-in it for example, that would make parsing the above case nigh impossible).Getting a new release out is still pending an upstream release of the `discord-presence`` crate, so for now you'll need to build from source or use the AUR package.