2015-06-09, 02:15
Hi,
I've been able to change the volume of my onkyo receiver within Kodi (passthrough audio) using the yatse app by remapping some of the controls with the remote.xml file. (placed in my userdata/keymaps folder)
The only thing is, it's convoluted and the volume is changing rather slow. Can somebody help me out to change this to a more easier way of doing this?
This is the code of my "remote.xml" file:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<global>
<remote>
<volumeplus>XBMC.RunScript(C:\path\to\python\script\volumeup.py)</volumeplus>
<volumeminus>XBMC.RunScript(C:\path\to\python\script\volumedown.py)</volumeminus>
</remote>
</global>
</keymap>
This is the code of my volumeup.py script:
import eiscp
eiscp.eISCP('192.168.0.123').raw('MVLUP')
This is the code of my volumedown.py script:
import eiscp
eiscp.eISCP('192.168.0.123').raw('MVLDOWN')
I'm using this python module: https://github.com/miracle2k/onkyo-eiscp
Which I just extracted and placed in the same folder as my volumeup and volumedown scripts... (because the volumeup and volumedown scripts are making use of those python scripts)
It works but it is rather slow... Is there a way to make this more "responsive"... (Using eventghost or the official onkyo app changes the volume way faster.)
Thanks
I've been able to change the volume of my onkyo receiver within Kodi (passthrough audio) using the yatse app by remapping some of the controls with the remote.xml file. (placed in my userdata/keymaps folder)
The only thing is, it's convoluted and the volume is changing rather slow. Can somebody help me out to change this to a more easier way of doing this?
This is the code of my "remote.xml" file:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<global>
<remote>
<volumeplus>XBMC.RunScript(C:\path\to\python\script\volumeup.py)</volumeplus>
<volumeminus>XBMC.RunScript(C:\path\to\python\script\volumedown.py)</volumeminus>
</remote>
</global>
</keymap>
This is the code of my volumeup.py script:
import eiscp
eiscp.eISCP('192.168.0.123').raw('MVLUP')
This is the code of my volumedown.py script:
import eiscp
eiscp.eISCP('192.168.0.123').raw('MVLDOWN')
I'm using this python module: https://github.com/miracle2k/onkyo-eiscp
Which I just extracted and placed in the same folder as my volumeup and volumedown scripts... (because the volumeup and volumedown scripts are making use of those python scripts)
It works but it is rather slow... Is there a way to make this more "responsive"... (Using eventghost or the official onkyo app changes the volume way faster.)
Thanks