Posts: 10
Joined: Mar 2013
Reputation:
0
Hi there,
I was wondering if there is a possibility to define different audio outputs for Music Files and Movies.
The Background being, that I use different Hi-Fi Systems for my Home Cinema and my Music System in the Living room.
The Sound for the Home Cinema should be handled via HDMI.The Sound to the Stereo Systems goes through a USB DAC.
THX for your help
Posts: 220
Joined: Aug 2009
Reputation:
8
Maybe i can help you out in a few days...
I wrote a Service Addon which automatically switches audio output when playing Music or Movies. The setup can be done within xbmc, so no fiddling with log files or code manipulation is required.
it works so far but i am still testing and try to optimize the code (i am a beginner in coding python...).
Due to work and family i haven't got much time, but i think i can release it soon, at least for testing purposes.
cya
Posts: 923
Joined: Jun 2014
Reputation:
93
Hi marv_el!
I have just saw your post...I will make some trials and let you know!
Cheers!
Light IMDb Ratings Update - Keep updated the IMDb ratings for your movies and TV shows.
In case you found useful my work, feel free to offer me a cappuccino!
Posts: 923
Joined: Jun 2014
Reputation:
93
Here I Am!
So, I have tested it on my notebook and it seems to work great!
Just to let you know: for movies I have configured the speakers while for music the speakers with WASAPI and...it works!
One question: in case I would like to uninstall the add-on, how the audio configuration will be restored? In other words, which audio device will be used for both video and music?
Lets syncro!
Light IMDb Ratings Update - Keep updated the IMDb ratings for your movies and TV shows.
In case you found useful my work, feel free to offer me a cappuccino!
Posts: 220
Joined: Aug 2009
Reputation:
8
glad, its working...
if you deactivate the addon, the last audio setting will be used. after activating the addon again, it should work as expected.
in case you uninstall the addon you have to do the setup again after re-install it. i have saved the configuration files within the addon instead of the addon_data directory. i will change that in the next release, so the audio config files won't be deleted, even if you uninstall the addon (afaik).
i will add a "swap device" script, which can be bound to a key. so you can change the audio output manually as well. i need this for myself, in case i want to watch MUSICVIDEOS using the "MUSIC" device instead of the VIDEO device.
so long
Posts: 923
Joined: Jun 2014
Reputation:
93
Many thanks for your work!
What is "sad" is that it seems that there is no much interest on this topic from the community...having said this, please let me know if I have to do something to support you for an embedded and official feature of XBMC!
As a first step to gain more visibility, I would suggest to open an ad-hoc topic in the XBMC development section...what do you think?
Light IMDb Ratings Update - Keep updated the IMDb ratings for your movies and TV shows.
In case you found useful my work, feel free to offer me a cappuccino!
Posts: 220
Joined: Aug 2009
Reputation:
8
i will open a thread as soon as i am ready for an official release - maybe this weekend!
i appreciate your support, thanks!
Posts: 923
Joined: Jun 2014
Reputation:
93
Hi marv_el!
Nice to hear you! ;-) Sorry but I was out for a small-long weekend and now waiting for the long vacations!
So, I've just seen that you made some good progress...I will try to test it as soon as possible as usual and let you know!
So...stay tuned!
Btw, the machine on which I have tired your addon is running Windows 7. At home I hacve a couple with 8.1, but actually I have not so much time to try it also there...
Honoured to help you!
Light IMDb Ratings Update - Keep updated the IMDb ratings for your movies and TV shows.
In case you found useful my work, feel free to offer me a cappuccino!
Posts: 6
Joined: May 2014
Reputation:
0
Hello,
Thank you for your works, I wait for this since a long long time...
So thank you very much.
I will try this ASAP.
Have you release your works ?