14th Nov, 2017, 02:41 AM
14th Nov, 2017, 07:16 AM
Terminal
root@kmxbilr2 ~ # dpkg -L xbian-package-xbmc | grep uisounds
/usr/local/share/kodi/addons/kodi.resource/uisounds.xsd
/usr/local/share/kodi/addons/resource.uisounds.kodi
/usr/local/share/kodi/addons/resource.uisounds.kodi/resources
/usr/local/share/kodi/addons/resource.uisounds.kodi/resources/back.wav
/usr/local/share/kodi/addons/resource.uisounds.kodi/resources/click.wav
/usr/local/share/kodi/addons/resource.uisounds.kodi/resources/cursor.wav
/usr/local/share/kodi/addons/resource.uisounds.kodi/resources/notify.wav
/usr/local/share/kodi/addons/resource.uisounds.kodi/resources/out.wav
/usr/local/share/kodi/addons/resource.uisounds.kodi/resources/shutter.wav
/usr/local/share/kodi/addons/resource.uisounds.kodi/resources/sounds.xml
/usr/local/share/kodi/addons/resource.uisounds.kodi/addon.xml
/usr/local/share/kodi/addons/resource.uisounds.kodi/icon.png
hth
14th Nov, 2017, 08:27 PM

'notify' and 'out' are the start up files...... Thanks!
Now I wonder if it is possible to playback different wav files depending on whether the pi is rebooting or powering off? I guess somewhere there are scripts that handle this and could be modified to do this? Aim would be to have a TTS prerendered file play to inform if the pi was rebooting or shutting down.
15th Nov, 2017, 03:56 AM
(14th Nov, 2017 08:27 PM)Skywatch Wrote: [ -> ]
'notify' and 'out' are the start up files...... Thanks!
Now I wonder if it is possible to playback different wav files depending on whether the pi is rebooting or powering off? I guess somewhere there are scripts that handle this and could be modified to do this? Aim would be to have a TTS prerendered file play to inform if the pi was rebooting or shutting down.
Solution A)
Look into file /etc/init/progress-shutdown.conf
You can copy this file to a name you want and insert your commands you want to run
For example
Code:
cp /etc/init/progress-shutdown.conf /etc/init/dudel-reboot.conf
cp /etc/init/progress-shutdown.conf /etc/init/dudel-halt.conf
and modify start on in both copied files
start on [0] --> runs on halt
start on [6] --> runs on reboot
Solution B)
look into file /etc/default/xbmc
variable SCROFFRUN
defines a custom shutdown script
You have to figure out if you are in reboot or shutdown mode
15th Nov, 2017, 06:23 AM
@Nachteule
Thank you so much for the hints and pointers. As soon as I can I will take a look (too much toothache for now).

Thank you so much for the hints and pointers. As soon as I can I will take a look (too much toothache for now).

15th Nov, 2017, 06:42 AM
26th Nov, 2017, 07:58 PM
You can add your own sounds at startup? That´s cool!
23rd Oct, 2019, 09:44 PM
Thanks Nachteule
After a long time, I can still relate to this. that how it sounds to us years back asking the same questions

After a long time, I can still relate to this. that how it sounds to us years back asking the same questions
