When installing the new version of Air Player 4.x Desktop on a Raspberry Pi4, pressing the Air Manager 'Shutdown' or 'Shutdown All' only closes the Air Player <user> process, but doesn't shutdown the Raspberry Pi4.
Facts:
- If ./Bootloader is used to start Air Player, the program run as a <user> process.
- Using sudo ./Bootloader to start Air Player, it will run as a <root> process.
Make note that this is the only way Air Manager/Air Player can handle the GPIO ports of the Raspberry Pi4).
Solution:
If you would like to change this behavior of the Air Manager shutdown buttons, just must edit the stop_airplayer.sh .
1. To stop <user> Air Player, dont do nothing (original 'stop_airplayer.sh' file contents)
Code: Select all
#! /bin/sh
pkill AirPlayer
Code: Select all
#! /bin/sh
sudo pkill AirPlayer
Code: Select all
#! /bin/sh
sudo pkill AirPlayer
sudo halt
Nicolas.