Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[IDEA] Analog audio for .flac/mp3 and hdmi audio for .mkv/avi
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Idea: Analog audio for .flac/mp3 and hdmi audio for .mkv/avi
4th Feb, 2013, 09:55 AM
Post: #1
Trinket Offline
Registered
Posts: 40
Joined: Jan 2013
Reputation: 9
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.
Find all posts by this user
Quote this message in a reply
4th Feb, 2013, 06:53 PM
Post: #2
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
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
Find all posts by this user
Quote this message in a reply
4th Feb, 2013, 06:58 PM
Post: #3
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Analog audio for .flac/mp3 and hdmi audio for .mkv/avi
Probably is possible in python too.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
4th Feb, 2013, 11:02 PM
Post: #4
Trinket Offline
Registered
Posts: 40
Joined: Jan 2013
Reputation: 9
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?
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] No analogue audio output device option on RPi 4B walt 12 5,239 19th Mar, 2025 07:20 PM
Last Post: otisjame
  [PROBLEM] Kodi randomly hangs while playing audio jakenl 15 23,296 9th Oct, 2024 02:07 PM
Last Post: sarausa0106
  Audio CD in xbian Forfiter 2 8,298 10th Mar, 2015 11:25 PM
Last Post: IriDium
  [PROBLEM] HDMI Audio cuts out for a sec every 5-10 mins [XBMC] rcmpayne 13 42,049 7th Jun, 2014 03:11 AM
Last Post: Kevf
  .mkv only plays audio, no video skinney6 4 18,979 7th May, 2014 01:36 AM
Last Post: skinney6
  PCM 5.1 audio being output as 2.0 mikeemouse 1 6,226 3rd Jan, 2014 03:47 AM
Last Post: IriDium
  [PROBLEM] Streaming audio using Darkice and IceCast2 Terry Gray 4 14,393 11th Nov, 2013 12:29 PM
Last Post: f1vefour
  1080p MKV without hardware audio? rendez2k 2 9,259 2nd Jul, 2013 07:21 PM
Last Post: IriDium
  Playback stops when audio changes from stereo to 5.1 tuutsie 31 92,658 15th May, 2013 11:37 PM
Last Post: Epedemic
Rainbow [PROBLEM] Audio output doesn't work well Eikatis 1 7,009 15th Apr, 2013 10:09 PM
Last Post: rikardo1979

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 08:18 PM Powered By MyBB, © 2002-2025 MyBB Group.