Created
June 2, 2013 18:50
-
-
Save anonymous/5694476 to your computer and use it in GitHub Desktop.
Workaround for the problem with MC001 losing audio over HDMI upon switching the TV or AV-receiver on and off. Place files in the following paths: /storage/.xbmc/userdata/keymaps/keymap.xml
/storage/.xbmc/userdata/keymaps/sound.py
/storage/.xbmc/userdata/keymaps/sound.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<keymap> | |
<global> | |
<remote> | |
<Yellow>RunScript("/storage/.xbmc/userdata/keymaps/sound.py")</Yellow> | |
</remote> | |
</global> | |
</keymap> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
os.system('sh /storage/.xbmc/userdata/keymaps/sound.sh') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xrandr --output DFP1 --off | |
xrandr --auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment