Forum

Full Version: Kodi startup sounds
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone please tell me where these are hiding? I want to change them to something else for a while.....

Thanks!
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
Smile

'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.
(14th Nov, 2017 08:27 PM)Skywatch Wrote: [ -> ]Smile

'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
@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).

Smile
(15th Nov, 2017 06:23 AM)Skywatch Wrote: [ -> ]@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).

I hope you get well soon
You can add your own sounds at startup? That´s cool!
Thanks Nachteule Smile
After a long time, I can still relate to this. that how it sounds to us years back asking the same questions Big Grin
(23rd Oct, 2019 09:44 PM)Thomas Reynold Wrote: [ -> ]Thanks Nachteule Smile
After a long time, I can still relate to this. that how it sounds to us years back asking the same questions Big Grin

... and you'll get always same answers Tongue
Reference URL's