Idea: Analog audio for .flac/mp3 and hdmi audio for .mkv/avi
|
4th Feb, 2013, 09:55 AM
Post: #1
|
|||
|
|||
Analog audio for .flac/mp3 and hdmi audio for .mkv/avi
I was wondering if it was possible to make a script that changes audio output according to the file type that is being played.
The idea behind this is having my tv connected via hdmi and my audio system connected to the analog output. If I play music I don't want my TV to be turned on and because of that HDMI is useless for it, I want it to play through the analog output. Does anybody know anyway to control the output? I don't know where to start searching for it and I couldn't find anything similar. |
|||
4th Feb, 2013, 06:53 PM
Post: #2
|
|||
|
|||
RE: Analog audio for .flac/mp3 and hdmi audio for .mkv/avi
I think you need to patch XBMC in order to do this, I don't know how good your are with c++?
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
4th Feb, 2013, 06:58 PM
Post: #3
|
|||
|
|||
RE: Analog audio for .flac/mp3 and hdmi audio for .mkv/avi
Probably is possible in python too.
pilight - modular domotica solution
|
|||
4th Feb, 2013, 11:02 PM
Post: #4
|
|||
|
|||
RE: Analog audio for .flac/mp3 and hdmi audio for .mkv/avi
I have never used c++ and I'm quite new to Python, but I still would like to try making it.
I know how to make the script autostart in XBMC (I have recently made a fairly simple script) it's just that I don't know how to control the audio output with commands. What's the command that's called when i switch from analog to hdmi audio output within xbmc? |
|||
« Next Oldest | Next Newest »
|