Hi guys!
I was able to set up remote mpd
media player to play sounds on remote windows machine.
Here is short guide:
- Download https://github.com/tx4x/mpd-windows
- Update mpd binary with this one https://www.musicpd.org/download/win32/0.20.23/mpd.exe since it is much stable based on my experiments.
- Run mpd with bat file
- Configure media player in HA config:
media_player:
- platform: mpd
host: <windows-pc-ip>
port: 6600
There is one drawback - constantly opened console window. You can hide it by creating a task in Task Scheduler and set hidden
flag to it.
Another solution can be found here: https://superuser.com/a/1120113/228955 (i didn’t test it though)