Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kodi startup sounds
14th Nov, 2017, 02:41 AM
Post: #1
Kodi startup sounds
Can someone please tell me where these are hiding? I want to change them to something else for a while.....

Thanks!
Find all posts by this user
Quote this message in a reply
14th Nov, 2017, 07:16 AM (This post was last modified: 14th Nov, 2017 07:21 AM by Nachteule.)
Post: #2
RE: Kodi startup sounds
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
Find all posts by this user
Quote this message in a reply
14th Nov, 2017, 08:27 PM
Post: #3
RE: Kodi startup sounds
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.
Find all posts by this user
Quote this message in a reply
15th Nov, 2017, 03:56 AM (This post was last modified: 15th Nov, 2017 04:26 AM by Nachteule.)
Post: #4
RE: Kodi startup sounds
(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
Find all posts by this user
Quote this message in a reply
15th Nov, 2017, 06:23 AM
Post: #5
RE: Kodi startup sounds
@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
Find all posts by this user
Quote this message in a reply
15th Nov, 2017, 06:42 AM
Post: #6
RE: Kodi startup sounds
(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
Find all posts by this user
Quote this message in a reply
26th Nov, 2017, 07:58 PM
Post: #7
RE: Kodi startup sounds
You can add your own sounds at startup? That´s cool!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Run command on Kodi startup 3to20characters 0 2,307 4th Jul, 2015 02:50 AM
Last Post: 3to20characters

Forum Jump: