morrolinux / mpradio-py

Morrolinux's Pirate radio (PiFmAdv wrapper with Bluetooth and mp3 support) - Stream music to your car's FM radio or use it as a Bluetooth speaker via headphone jack
73 stars 11 forks source link

I cannot perform playback controls or system commands #57

Open Angenios opened 4 years ago

Angenios commented 4 years ago

immagine

It denies me the permission to perform such commands even if I use sudo.

morrolinux commented 4 years ago

Yeah in GNU/Linux sudo doesn't survive the > redirection operator. You should either use sudo -i to become root or use tee: echo pause | sudo tee /tmp/mpradio_bt

Angenios commented 4 years ago

Yeah in GNU/Linux sudo doesn't survive the > redirection operator. You should either use sudo -i to become root or use tee: echo pause | sudo tee /tmp/mpradio_bt

It still doesn't reply to any command, and I've noticed another problem but I'll open a new issue about it in order to make order between problems.