[xbmc-strm-collection commit] r140 - in trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360: Extras PAL Sounds

10 views
Skip to first unread message

codesite...@google.com

unread,
Sep 2, 2007, 11:35:33 PM9/2/07
to xbm...@googlegroups.com
Author: ElenionTolto
Date: Sun Sep 2 20:34:35 2007
New Revision: 140

Added:
trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Extras/mc360_startup.wav (contents, props changed)
trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Extras/switchsoundfile.py
trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/back.wav (contents, props changed)
trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/cursor.wav (contents, props changed)
trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/select.wav (contents, props changed)
Modified:
trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/PAL/custom1964_SkinModOptions3.xml
trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/sounds.xml

Log:
[MC360 Mod] Added: slightly better versions (i think) of cursor, back and select noises for default sound pack.
Added: Option to switch between default startup sound and 360 startup sound.

Added: trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Extras/mc360_startup.wav
==============================================================================
Binary file. No diff available.

Added: trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Extras/switchsoundfile.py
==============================================================================
--- (empty file)
+++ trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Extras/switchsoundfile.py Sun Sep 2 20:34:35 2007
@@ -0,0 +1,30 @@
+# Switch splash startup sound file script by Asteron
+# v1.0 - 2007/02/21
+# http://asteron.projects.googlepages.com/
+
+import os, shutil, traceback
+import xbmc, xbmcgui
+
+def main():
+ soundfile = 'Q:\\skin\\MC360\\sounds\\mc360_startup.wav'
+ skinname = xbmc.getSkinDir()
+ trimmedname = ''.join(skinname.lower().split())
+ customsoundfile = 'Q:\\skin\\' + skinname + '\\extras\\mc360_startup.wav'
+ soundfilebackup = 'Q:\\skin\\' + skinname + '\\extras\\mc360_startup.wav'+trimmedname
+ if not os.path.exists(customsoundfile):
+ xbmcgui.Dialog().ok('ERROR', 'Custom sound file not found', customsoundfile)
+ return
+
+ if os.path.exists(soundfilebackup):
+ os.remove(soundfile)
+ shutil.move(soundfilebackup, soundfile)
+ xbmc.executebuiltin('Skin.SetBool(CustomStartupSound)')
+ xbmc.executebuiltin('Skin.ToggleSetting(CustomStartupSound)') #make sure its off
+ else:
+ shutil.move(soundfile, soundfilebackup)
+ shutil.copy(customsoundfile, soundfile)
+ xbmc.executebuiltin('Skin.SetBool(CustomStartupSound)')
+try:
+ main()
+except:
+ traceback.print_exc()

Modified: trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/PAL/custom1964_SkinModOptions3.xml
==============================================================================
--- trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/PAL/custom1964_SkinModOptions3.xml (original)
+++ trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/PAL/custom1964_SkinModOptions3.xml Sun Sep 2 20:34:35 2007
@@ -160,26 +160,26 @@
<animation effect="fade" time="100">WindowOpen</animation>
</control>
<control type="radiobutton" id="4">
- <description>Enable Web Browser Button</description>
+ <description>Custom Startup Sound Button</description>
<posx>22</posx>
<posy>196</posy>
<width>290</width>
<height>59</height>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
- <onclick>Skin.ToggleSetting(Webbrowser)</onclick>
- <selected>Skin.HasSetting(Webbrowser)</selected>
+ <onclick>XBMC.RunScript(Q:\skin\MC360\extras\switchsoundfile.py)</onclick>
+ <selected>Skin.HasSetting(CustomStartupSound)</selected>
<pulseonselect>no</pulseonselect>
<onleft>4</onleft>
<onright>4</onright>
<onup>3</onup>
<ondown>1</ondown>
<font>font14</font>
- <label>Enable Web Browser Button</label>
+ <label>Enable 360 Startup Sound</label>
<textoffsetx>30</textoffsetx>
<include>TextcolorBlack</include>
<include>shadow-grey</include>
- <visible>webbrowser.included + ![Window.IsActive(1120) | Window.IsActive(filebrowser) | Window.IsActive(1129) | Window.IsActive(1123) | Window.IsActive(1124) | Window.IsActive(1999) | Window.IsActive(1970) | Window.IsActive(1969) | Window.IsActive(1967) | Window.IsActive(1966) | Window.IsActive(1965)]</visible>
+ <visible>![Window.IsActive(1120) | Window.IsActive(filebrowser) | Window.IsActive(1129) | Window.IsActive(1123) | Window.IsActive(1124) | Window.IsActive(1999) | Window.IsActive(1970) | Window.IsActive(1969) | Window.IsActive(1967) | Window.IsActive(1966) | Window.IsActive(1965)]</visible>
<animation effect="slide" end="-2,0" time="275" reversible="false">focus</animation>
<animation effect="fade" time="100">WindowOpen</animation>
</control>
@@ -191,7 +191,7 @@
<height>1</height>
<texture>divider.png</texture>
<visible>![Window.IsActive(1120) | Window.IsActive(filebrowser) | Window.IsActive(1129) | Window.IsActive(1123) | Window.IsActive(1124) | Window.IsActive(1999) | Window.IsActive(1970) | Window.IsActive(1969) | Window.IsActive(1967) | Window.IsActive(1966) | Window.IsActive(1965)]</visible>
- <visible>no</visible>
+ <visible>yes</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>
</controls>

Added: trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/back.wav
==============================================================================
Binary file. No diff available.

Added: trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/cursor.wav
==============================================================================
Binary file. No diff available.

Added: trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/select.wav
==============================================================================
Binary file. No diff available.

Modified: trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/sounds.xml
==============================================================================
--- trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/sounds.xml (original)
+++ trunk/MC360 v1.x Video Marketplace Mod/XBMC/Skin/MC360/Sounds/sounds.xml Sun Sep 2 20:34:35 2007
@@ -120,7 +120,7 @@
<activate>guide_open.wav</activate>
<deactivate>guide_close.wav</deactivate>
</window>
-
+
<window>
<name>1968</name>
<activate>guide_open.wav</activate>
@@ -290,7 +290,7 @@
<!-- End Sliding Blades -->

<!-- Xlink Kai Blade -->
- <window>
+ <window>
<name>2700</name>
<activate>tier2_enter.wav</activate>
<deactivate>tier2_exit.wav</deactivate>
@@ -317,21 +317,6 @@
<deactivate>tier2_exit.wav</deactivate>
</window>
<window>
- <name>24</name>
- <activate>tier2_enter.wav</activate>
- <deactivate>tier2_exit.wav</deactivate>
- </window>
- <window>
- <name>25</name>
- <activate>tier2_enter.wav</activate>
- <deactivate>tier2_exit.wav</deactivate>
- </window>
- <window>
- <name>501</name>
- <activate>tier2_enter.wav</activate>
- <deactivate>tier2_exit.wav</deactivate>
- </window>
- <window>
<name>502</name>
<activate>tier2_enter.wav</activate>
<deactivate>tier2_exit.wav</deactivate>
@@ -423,16 +408,30 @@
<deactivate>tier3_exit.wav</deactivate>
</window>
<window>
- <name>7</name>
- <activate>tier3_enter.wav</activate>
- <deactivate>tier3_exit.wav</deactivate>
- </window>
- <window>
<name>10016</name>
<activate>tier3_enter.wav</activate>
<deactivate>tier3_exit.wav</deactivate>
</window>
<!-- End System Blade -->
+
+<!-- Additional Windows -->
+
+ <window>
+ <name>24</name>
+ <activate>tier2_enter.wav</activate>
+ <deactivate>tier2_exit.wav</deactivate>
+ </window>
+ <window>
+ <name>25</name>
+ <activate>tier2_enter.wav</activate>
+ <deactivate>tier2_exit.wav</deactivate>
+ </window>
+ <window>
+ <name>501</name>
+ <activate>tier2_enter.wav</activate>
+ <deactivate>tier2_exit.wav</deactivate>
+ </window>
+<!-- End Additional Windows -->

<!-- Credits -->
<window>

Reply all
Reply to author
Forward
0 new messages