This package was working fine - it's pretty cool, thanks! - until very recently, where it just... stopped. Not sure if it's a discord update, or something else.
systemctl --user status mpd-discord-rpc output:
Feb 02 17:44:48 hearth mpd-discord-rpc[1552]: 2024-02-02T17:44:48.035347Z ERROR mpd_discord_rpc: {"error_message":"Io Error","error_type":"RPCLibraryError>
Feb 02 17:44:53 hearth mpd-discord-rpc[1552]: 2024-02-02T17:44:53.036788Z INFO mpd_discord_rpc: Detected change, updating status
Feb 02 17:44:53 hearth mpd-discord-rpc[1552]: thread '<unnamed>' panicked at src/main.rs:109:18:
Feb 02 17:44:53 hearth mpd-discord-rpc[1552]: channel to be open: "Full(..)"
On Arch linux 6.7.3-arch1-1, using Discord Stable 263172 (f95e991), not sure if any additional RPC package is relevant given none are listed as dependencies, but libtirpc is 1.3.4-1, just in case.
Not sure how to troubleshoot, to be honest. Running mpd-discord-rpc
with the systemctl process stopped says that it connects to discord fine:
024-02-02T17:55:56.960104Z INFO connect: mpd_protocol::connection: connected successfully version="0.23.5"
2024-02-02T17:55:56.960129Z INFO mpd_utils::persistent_client: Connected to 'localhost:6600'
2024-02-02T17:55:57.464823Z INFO mpd_discord_rpc: Connected to Discord
And my firewall should be set up so as to allow discord to connect.
Restarting the systemctl process after killing both that from before and then killing the one ran in the terminal yields this systemctl output:
Feb 02 18:00:17 hearth systemd[1465]: Started Discord Rich Presence for MPD.
Feb 02 18:00:17 hearth mpd-discord-rpc[247950]: 2024-02-02T18:00:17.014233Z INFO connect: mpd_protocol::connection: connected successfully version="0.23.>
Feb 02 18:00:17 hearth mpd-discord-rpc[247950]: 2024-02-02T18:00:17.014257Z INFO mpd_utils::persistent_client: Connected to 'localhost:6600'
Feb 02 18:00:17 hearth mpd-discord-rpc[247950]: 2024-02-02T18:00:17.519429Z INFO mpd_discord_rpc: Connected to Discord
But still no cigar in the discord client.
Here is my config.toml:
id = 677226551605023604
hosts = ["localhost:6600"]
[format]
details = "$title"
state = "$artist / $album"
timestamp = "elapsed"
large_image = "notes"
small_image = ""
large_text = ""
small_text = ""
Any advice on troubleshooting is gratefully received, and thank you for making a neat app!