Closed Daxot closed 11 months ago
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.
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
$duration
of the song. I think album cover will not work too, because MPD doesn't provide any information about$album
or$artist
(at least i don't see them in ncmpcpp) and$title
in MPD consist of two parts:$artist-$title
provided by Internet Radio