Background music?
#1
I have never done anything with any music, so not sure if this is even possible. Is there a way to have background music playing when I start XBMC and while we are looking for movies to play, and then when I hit play for a movie, have it fade out?
Reply
#2
There is an option to have XBMC start a playlist automatically when it opens.
Reply
#3
Open the files for the skin you are using. You are looking for your xbmc addon directory\skin file\sounds\sound.xml

here is the sound.xml from Nox
Code:
<sounds>
  <actions>
    <action>
      <name>left</name>
      <file>cursor.wav</file>
    </action>
    <action>
      <name>right</name>
      <file>cursor.wav</file>
    </action>
    <action>
      <name>up</name>
      <file>cursor.wav</file>
    </action>
    <action>
      <name>down</name>
      <file>cursor.wav</file>
    </action>
    <action>
      <name>select</name>
      <file>click.wav</file>
    </action>
    <action>
      <name>parentdir</name>
      <file>back.wav</file>
    </action>
    <action>
      <name>previousmenu</name>
      <file>back.wav</file>
    </action>
    <action>
      <name>screenshot</name>
      <file>shutter.wav</file>
    </action>
  </actions>

  <windows>
    <window>
      <name>infodialog</name>
      <activate>notify.wav</activate>
      <deactivate>out.wav</deactivate>
    </window>
    <window>
      <name>startup</name>
      <activate></activate>
    </window>
  </windows>
</sounds>

At the end you will see:
Code:
<window>
      <name>startup</name>
      <activate></activate>
    </window>

Between the <activate></activate> tags you will put the name.extension of the file you want to play on startup.

Then put that sound file in the sound folder.

This will play the sound every time xbmc starts. However it will only play it once.

You may want to look into the tv tunes addon. It will play the opening track of the tv show you are browsing when you are in the tv library.
How to use Git
| AMD Athlon II X3 Triple Core Processor 2.9 GHz |GIGABYTE GA-MA785GM-US2H Mobo 2GB DDR2 Ram | MSI N430GT |
| Logitec Harmony Smart Control Remote| 52" Sharp Aquos LED TV | Denon AVR-X1000 |
| Freenas Server with 18TB ASRock Intel Avoton C2750 |
Reply
#4
Thanks for the ideas, but none will really get me to what I would like. Thanks anyway.
Reply
#5
If you create a Python script called autoexec.py and put it in your userdata directory XBMC will execute this script when it starts. You can use this script to play any music of your choice, and indeed to do anything of your choice in XBMC.

JR
Reply
#6
This might be what you're looking for: http://forum.xbmc.org/showthread.php?tid=36859 (it doesn't fade out though)
Reply

Logout Mark Read Team Forum Stats Members Help
Background music?0