Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Kodi startup sounds
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Kodi startup sounds
14th Nov, 2017, 02:41 AM
Post: #1
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
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
Nachteule Offline
Administrator
******
Posts: 2,335
Joined: Dec 2014
Reputation: 122
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
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
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
Nachteule Offline
Administrator
******
Posts: 2,335
Joined: Dec 2014
Reputation: 122
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
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
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
Nachteule Offline
Administrator
******
Posts: 2,335
Joined: Dec 2014
Reputation: 122
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
deeej Offline
Registered
Posts: 19
Joined: Nov 2017
Reputation: 0
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
23rd Oct, 2019, 09:44 PM
Post: #8
Thomas Reynold Offline
Registered
Posts: 13
Joined: Oct 2019
Reputation: 0
RE: Kodi startup sounds
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
Find all posts by this user
Quote this message in a reply
23rd Oct, 2019, 09:55 PM
Post: #9
Nachteule Offline
Administrator
******
Posts: 2,335
Joined: Dec 2014
Reputation: 122
RE: Kodi startup sounds
(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
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


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

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 30th Mar, 2023, 11:02 AM Powered By MyBB, © 2002-2023 MyBB Group.