Car media player

Hello,
Wanting to use osmc as an in car media player on a raspberry but I need to add a shutdown script that works when ignition feed is removed, is this possible?

I’ll just leave this here…
http://mausberry-circuits.myshopify.com/collections/car-power-supply-switches

2 Likes

I’ve been looking at this little unit, and it’ll work ok running osmc ?

This car power supply produces up to 2-amps of current, senses your
ignition and safely shuts down the Pi when your car turns off. The unit
communicates with the Pi over two GPIO wires and uses an easy to install
script on the Pi.

So you would have to adapt that script for OSMC but generally it should work.
There might be a challenge about the shutdown duration as someone else reported with another PI adapter but it should be possible.