Kodi Community Forum
Linux Close Kodi cleanly and start a shellscript? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: Requests (https://forum.kodi.tv/forumdisplay.php?fid=251)
+---- Thread: Linux Close Kodi cleanly and start a shellscript? (/showthread.php?tid=307216)



Close Kodi cleanly and start a shellscript? - PaddyMaxson - 2017-02-15

Hi guys,

Possibly the wrong forum.

After the nightmare of trying to get Netflix to work right with Kodi when using ALSA I decided to write a couple of shellscripts:

On Ubuntu login: Kill PulseAudio and Launch Kodi (kodi.sh)

A desktop shortcut to: start PulseAudio and launch Chrome in Kiosk mode at netflix.com (netflix.sh)

I was wondering how plausible it is to write something that Gracefully closes Kodi and launches a shellscript?

I'm a complete Python amateur and amateur to addon development so I'm not sure if this is even doable

Cheers

Paddy