mpc play and stop crons on Raspbian OS #1389
-
Hi Community members - Good day. I am trying to start and stop music from cron using mpc stop and start from user 'pi' , but I get following error from cron. Please advise. I tried user 'pi' to 'audio' , but still the issue exists. Thanks
my MPD process starts as a system process from systemd directory /lib/systemd/system/mdp.service. the /etc/mpd.conf is as below
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You configured a password in your configuration file. What you posted is not the configuration file that is actually used by the MPD process you are talking to, or is incomplete. |
Beta Was this translation helpful? Give feedback.
You configured a password in your configuration file. What you posted is not the configuration file that is actually used by the MPD process you are talking to, or is incomplete.
See https://mpd.readthedocs.io/en/stable/user.html#permissions-and-passwords