• 1
  • 5
  • 6
  • 7
  • 8(current)
  • 9
Release AUTOMATIC (and/or manual) AUDIO SWITCHER for different Audio Output
Thumbs Up 
Jepp - that would be great ! Music

@ LaggAt: I'm open to support this with a donation ... Cool
Reply
I have a great announcement regarding the (Automatic) Audio Profile: thanks to excellent work by @Reggs we will soon have a very advanced and an all around solution to (Automatic) Audio Profile switching that will cover (probably) all the requirements listed, mentioned, asked in this thread.

I asked Reggs, who is the developer of the great Audio Profiles Add-on, if he could implement into his advanced add-on the automatic detection feature that marv_el started and LaggAt improved. He was quick to respond and very open to the suggestion, and already came up with a solution. We are currently testing the add-on.

What does it mean? Well, Reggs' Audio Profile add-on is a very powerful one: you can set your custom audio profiles AND also include Video settings to each profile you created. Then you can assign a remote button or any keymap to the add-on that 1) toggles between your custom audio profiles AND/OR 2) switches directly to the profile you want (if you have two profiles, you can assign a button on the remote or keyboard to each profile).
It is so powerful that you can even set the Video settings for each profile. Consider the following use case:

You have two profiles, 1) HDMI 2) SPDIF. You have an AVR with digital input, and a TV with a HDMI input.
For 1) HDMI profile you want to disable DD and DTS digital encoding if TV doesn't support it, you want passthrough disabled, and you want Sync Audio to Video enabled, etc.
For 2) SPDIF profile you want DD and DTS enabled, since your AVR is capable of decoding these streams, you want passthrough enabled, and if passthrough is enabled, you want (need) to disable Sync Audio to Video, etc.

And, of course, you can modify any Audio or Video option for each profile to your needs.

Here comes the new addition: Reggs added automatic content detection for Movies, TV shows, PVR (yes, finally Live TV is also detected), Music, and GUI. You can set which content type should be automatically detected on playback start, assign a profile to the content, and Audio Profiles will automatically switch to that profile based on the content you play. This is so awesome, I'm really excited! Of course, you can still manually override the detection with the toggle audio profile key mapped on your remote.

An example (this is what I use). I have an older AVR without HDMI, but with Digital input. It is quite a good AVR with decent stereo performance too, and I use it for home cinema with DD5.1 and DTS too. I have two profiles configured:

1) HDMI: this is for TV when I want the sound only from my TV. When I watch news on PVR, or kids just watch a cartoon, for me most of the time the sound from TV is enough. I have Sync Audio to Video enabled to have perfect match, DD and DTS transcoding enabled in Kodi, passthrough disabled.
2) SPDIF: when I listen to music, I use this profile, and the AVR is turned ON. I don't want my TV turned on for music, so I use Yatse or Kore to control music playback. Until now, I had to press a button on the remote to toggle between the two profiles (or use Yatse to send a keyboard command, I used this version more since I use CEC and it doesn't work when TV is turned off).

Now with automatic content detection, I have assigned Movies, PVR, TV shows to Profile 1 (which is HDMI) and when I start any of these content, this audio profile is used automatically. I have Music assigned to Profile 2 (which is SPDIF) and when I start music playback, the SPDIF profile is automatically used and sound comes from my AVR. Everything is automated!
If I want to use my AVR with a movie, then I just press the toggle button on my remote, and it switches to SPDIF from HDMI.

Check out Audio Profiles Add-on thread for official details and gallery.
Wiki: Add-on:Audio Profiles

Finally, I would like to say a big thanks to all of the developers who contributed and did this fantastic job and provided us with this excellent add-on: marv_el, LaggAt, and special thanks goes to Reggs. Guys, your work makes Kodi such an excellent piece of software, thanks for all your hard work and time devoted to this (and many other) project(s)!
Reply
Thanks gurabli for this notification! I think that we are going to have the most complete solution for audio management inside Kodi! Do you have any time estimated for the release?

Of course many big thanks to who worked on this until now. I'm actually an intensive user of Automatic Audio Switcher since the beginning.

Great!
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!
Reply
I am doing the final touches. We need someone who will test CEC commands.
Reply
Thanks! Is the testing code available on github?
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!
Reply
(2017-01-31, 11:32)axlt2002 Wrote: Thanks! Is the testing code available on github?

I sent you a PM with the test version.

About addon talk in thread: http://forum.kodi.tv/showthread.php?tid=200081
Reply
(2017-01-31, 11:42)Regss Wrote:
(2017-01-31, 11:32)axlt2002 Wrote: Thanks! Is the testing code available on github?

I sent you a PM with the test version.

About addon talk in thread: http://forum.kodi.tv/showthread.php?tid=200081

Ok, I'm going to check it soon, thanks! Is there any particular function to be tested?

Subscribing to the thread was one of my first task today! Wink
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!
Reply
Thumbs Up 
Thanks gurabli, Regss, marv_el and LaggAt !
This is a big step forward.

Can't wait testing it.
Reply
Audio Profiles v. 1.2.0 was released. Available now from my repository, and soon from official.
http://forum.kodi.tv/showthread.php?tid=200081
Reply
Thumbs Up 
SOLVED: Automatic switching is integrated in Audio Profiles!

Audio Profiles V. 1.2.1 works perfectly:
It seems that automatic switching is now included in the Audio Profiles addon with more options - special thanks to Reggs!

I'm sorry for the Automatic Audio Switcher addon ... I think this is obsolete now Wink

Thanks to all
Reply
Please do not throw ashes on tools that have been really (and still are) useful for Kodi users... Wink
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!
Reply
Hello everyone,

I want to buy a raspBerry PI 3 in order to install KODI on it, but first I'd like to know something:

- is it possible with this add-on to swap surround chanels when multicanal PCM is playing ? (and only in this case)

I really need to do that because my AVR is known to have this bug : while receiving multicanal PCM, it swaps right and left surround channels... Onkyo propose to go make it repair in a support place, but the nearest of me is very far, so I have to try to find a fix myself, and because Raspberry PI 3 can't passthrough dts-hd/true hd, I will get multicanal PCM, and then my AVR will swap the speakers :/

Thank you Smile
Reply
Hi marv_el,

Interesting Addon! I installed it and made it work on the TV, great. However I am using both a TV and a Projector. Would it be possible to make multiple "profiles" like shown beneath here?

TV profile:
Music output = USB Audio Sound Card
Movie output = TV speaker

Projector profile:
Music output = USB Audio Sound Card
Movie output = USB Audio Sound Card

At the moment before I found your addon, I ran a script every time on bootup. This looked up if the display had been rotated (the projector is hanging downwards, so the display has to be flipped each time I switch between TV and projector). If the display was rotated, then the audio output would be changed to USB Audio Sound Card. However if it wasn't both music and movie output was the TV sound..

Pretty difficult to explain, looking forward to hear from you. :-)
Reply
not worked by the KORE or Yatse (web control)
Reply
Hi Marv_el,

thats an amazing addon. I was searching for a solution for a few hours!
I've build a media center but it should be useable as a radio as well.
If I play an internet radio stream it works as expected. It uses the internal speaker. When I want to watch TV (PVR) it switches to HDMI output.
But when I choose the PVR Radio - it would also play it on HDMI. Is there an option to handle PVR TV and PVR Radio diffrent?

Thanks
Börny
Reply
  • 1
  • 5
  • 6
  • 7
  • 8(current)
  • 9

Logout Mark Read Team Forum Stats Members Help
AUTOMATIC (and/or manual) AUDIO SWITCHER for different Audio Output1