command to stop + restart MPD?

General discussion about RuneAudio. Do not post any support or feature requests here.

command to stop + restart MPD?

Postby waves » 07 Dec 2015, 09:29

I'm testing out some bash scripts and timers that control playback by sending mpc commands (mpc play, mpc pause, mpc toggle and so on). But sometimes this trips up MPD and all mpc commands return "connection refused".

When troubleshooting this it would be useful to have some command to stop + restart MPD without rebooting the device. Is there any such command?
waves
 
Posts: 125
Joined: 31 Dec 2014, 10:33

Re: command to stop + restart MPD?

Postby ACX » 07 Dec 2015, 10:14

User avatar
ACX
RuneAudio co-founder
 
Posts: 1693
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: command to stop + restart MPD?

Postby waves » 07 Dec 2015, 20:18

Thank you
waves
 
Posts: 125
Joined: 31 Dec 2014, 10:33

support RuneAudio Donate with PayPal


Return to General discussion

Who is online

Users browsing this forum: No registered users and 22 guests