I've added a shutdown button to a raspberry pie model A
running raspbian
using the script from the link below
https://www.raspberrypi-spy.co.uk/2018/ ... wn-button/
This works great but I also wanted it to play a video or sound file after I have pressed the shutdown button.
I dont know what to add to the above setup to get this to happen?
Ive spent a couple of days trying various things others have tried but with know luck.
I'm fairly new to this but like I say I did manage to get the shutdown project working.
Any assistance would be greatly appreciated
Thanks in advance
Andrew