andycoopr
Posts: 1
Joined: Wed Aug 05, 2020 11:50 pm

Adding video or sound to shutdown button

Thu Aug 06, 2020 12:05 am

Hi,

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. :D
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

Return to “General discussion”