Forum
Kodi startup sounds - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Others (/forum-24.html)
+--- Thread: Kodi startup sounds (/thread-3942.html)



Kodi startup sounds - Skywatch - 14th Nov, 2017 02:41 AM

Can someone please tell me where these are hiding? I want to change them to something else for a while.....

Thanks!


RE: Kodi startup sounds - Nachteule - 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


RE: Kodi startup sounds - Skywatch - 14th Nov, 2017 08:27 PM

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.


RE: Kodi startup sounds - Nachteule - 15th Nov, 2017 03:56 AM

(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


RE: Kodi startup sounds - Skywatch - 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).

Smile


RE: Kodi startup sounds - Nachteule - 15th Nov, 2017 06:42 AM

(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


RE: Kodi startup sounds - deeej - 26th Nov, 2017 07:58 PM

You can add your own sounds at startup? That´s cool!


RE: Kodi startup sounds - Thomas Reynold - 23rd Oct, 2019 09:44 PM

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


RE: Kodi startup sounds - Nachteule - 23rd Oct, 2019 09:55 PM

(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