• 1
  • 14
  • 15
  • 16
  • 17
  • 18(current)
Release Audio Profiles (for Kodi 18 and later)
Quote:does not work. nothing triggers i.e. on onScreensaverActivated with this add on. meh


This is my cron job that works:

54 21 * * * kodi-send --action "RunScript(script.audio.profiles,1)" >> /storage/.kodi/userdata/profile.log
Reply
(2024-08-14, 01:46)JonnyGators Wrote: This add-on doesn't work!

Please make a version that does!

If you're hoping for help, this isn't the way to get it.  The addon works fine (I use it every day).  If you just want to bitch, then fine, you've done that.  If you want help, you need to post details of your problem and debug logs showing the problem you are having.
Reply
(2024-08-16, 19:33)pkscout Wrote:
(2024-08-14, 01:46)JonnyGators Wrote: This add-on doesn't work!

Please make a version that does!

If you're hoping for help, this isn't the way to get it.  The addon works fine (I use it every day).  If you just want to bitch, then fine, you've done that.  If you want help, you need to post details of your problem and debug logs showing the problem you are having.
Not sure who's fault it is, not sure I care anymore.  But LibreElec devs have decided they know better than anyone else that one shouldn't use the audio output on their audio players, and have added barriers to enable it.  This add-on was mentioned with promises of using it being able to enable the output.  It doesn't.  Hence my complaint.

I still find it ridiculously stupid that one has to manually edit a config file just to enable the option to use an audio output on an audio player, rather than the option to use it being present by default.  But that's hardly the fault of this add-on.
Reply
Hi,

CoreELEC 21.1 Ugoos AM6B Plus

Been using this Add-on for sometime now to switch audio between the SPDIF (Headphones) and the HDMI (TV) outputs on the Ugoos.  Working really well up until recently, I'm getting audio from both the HDMI and SPDIF Outputs at the same time when the SPDIF mode is used.  But only with some videos.  I did not even know it was possible to have audio from both outputs at the same time!

Any ideas why audio from both?

TIA

EDIT:  Debug Log of Video Below with only SPDIF Output enabled.

Here is the MediaInfo of the Audio from a problem video:

Code:
Audio
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Codec ID                                 : A_EAC3
Duration                                 : 37 min 58 s
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 209 MiB (3%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Complexity index                         : 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Image

Image
Reply
(2024-11-04, 23:52)gregeeh Wrote: Hi,

CoreELEC 21.1 Ugoos AM6B Plus

Been using this Add-on for sometime now to switch audio between the SPDIF (Headphones) and the HDMI (TV) outputs on the Ugoos.  Working really well up until recently, I'm getting audio from both the HDMI and SPDIF Outputs at the same time when the SPDIF mode is used.  But only with some videos.  I did not even know it was possible to have audio from both outputs at the same time!

Any ideas why audio from both?
You're probably better off posting this in the Linux support area:

https://forum.kodi.tv/forumdisplay.php?fid=52

This add-on doesn't do anything fancy other than load a bunch of saved settings.  If you're getting odd behavior from Kodi, the Linux support area is going to be the place that someone will see and answer your question.
Reply
Hi,
I have setup 2 profiles. One on one tv, one on another. 
I have profile 1 set to F1 and profile 2 set to F2 on my keyboard. The only differences in the profiles are the audio and video output and also the resolution everything else remains identical. The profiles swap upon the key being pressed however it's only audio, the video output won't change. 

The screens flicker as if the video is changing but it stays on the screen it's on and only the audio swaps successfully.
I'll pop a log on if needed but anyone have any clues or am I expecting something that it can't do?

thanks in advance.
Reply
(2024-12-08, 05:24)Pi7a Wrote: Hi,
I have setup 2 profiles. One on one tv, one on another. 
I have profile 1 set to F1 and profile 2 set to F2 on my keyboard. The only differences in the profiles are the audio and video output and also the resolution everything else remains identical. The profiles swap upon the key being pressed however it's only audio, the video output won't change. 

The screens flicker as if the video is changing but it stays on the screen it's on and only the audio swaps successfully.
I'll pop a log on if needed but anyone have any clues or am I expecting something that it can't do?

thanks in advance.
Audio Profiles really just changes the settings (or at least tries to).  With video, there are some safeguards so you don't end up with no video, and it sounds like Kodi is trying to change the video but fails and falls back to the current video settings.  You should, in theory, see the same thing when manually changing the settings.  My suggestion would be to delete the problematic profile and then try and recreate it.  Make sure before you are done that all the settings are actually what you're expecting (especially the video ones) and then save it again.

If that doesn't work, debug logs might be helpful, as I might be able to see what video settings isn't sticking and why.
Reply
Thanks for your reply. I have tried recreating the profiles and face the same scenario. I've lost this pc for a few hours so my testing has stopped for now. Once everyone's had their fill I will generate a log file.

Frustrating thing is I created a custom command years ago for Yatse that swapped audio and video to the desired TV depending which button I pressed but it got lost over the years and I just cannot remember what I did lol
Reply
(2023-06-11, 02:59)pkscout Wrote:
(2023-06-10, 18:21)ashlar Wrote:
(2023-06-10, 13:30)pkscout Wrote: Kodi is not yet on newer versions of ffmpeg.  This will, in fact, have to wait until that is done.  There is no firm ETA on that.

?
I'm not sure I follow. I am referring to this: https://kodi.tv/article/kodi-omega-alpha-1/

That is referring to a VERY early build of the NEXT version of Kodi.  The current version of Kodi does not use that and does not provide the information you want.  Omega will likely not ship until the end of this year at the earliest, and assuming that all the needed JSONRPC changes are made as well, then Audio Profiles could be updated to differentiate Atmos.  So check back next year.
Hi! Checking back as suggested. Now Kodi (in the development version) supports differentiating between DD+ and DD+ with Atmos.

Would you consider updating your add-on in order to exploit this differentiation for different profiles?
For troubleshooting and bug reporting please make sure you read this first (usually it's enough to follow instructions in the second post).
Reply
(2025-01-11, 18:22)ashlar Wrote:
(2023-06-11, 02:59)pkscout Wrote:
(2023-06-10, 18:21)ashlar Wrote: ?
I'm not sure I follow. I am referring to this: https://kodi.tv/article/kodi-omega-alpha-1/

That is referring to a VERY early build of the NEXT version of Kodi.  The current version of Kodi does not use that and does not provide the information you want.  Omega will likely not ship until the end of this year at the earliest, and assuming that all the needed JSONRPC changes are made as well, then Audio Profiles could be updated to differentiate Atmos.  So check back next year.
Hi! Checking back as suggested. Now Kodi (in the development version) supports differentiating between DD+ and DD+ with Atmos.

Would you consider updating your add-on in order to exploit this differentiation for different profiles?
It didn't make it for Omega, but I know it's in the Piers development.  There's no release date set for that yet (and, as before, it hasn't even reached Alpha yet).  I do have it on the roadmap for Audio Profiles to add this, and I tend to wait until the release gets to Alpha, as at that point the feature set and API updates are normally frozen.  So the answer continues to be "yes, in the undefined future."
Reply
(2025-01-11, 20:38)pkscout Wrote:
(2025-01-11, 18:22)ashlar Wrote:
(2023-06-11, 02:59)pkscout Wrote: That is referring to a VERY early build of the NEXT version of Kodi.  The current version of Kodi does not use that and does not provide the information you want.  Omega will likely not ship until the end of this year at the earliest, and assuming that all the needed JSONRPC changes are made as well, then Audio Profiles could be updated to differentiate Atmos.  So check back next year.
Hi! Checking back as suggested. Now Kodi (in the development version) supports differentiating between DD+ and DD+ with Atmos.

Would you consider updating your add-on in order to exploit this differentiation for different profiles?
It didn't make it for Omega, but I know it's in the Piers development.  There's no release date set for that yet (and, as before, it hasn't even reached Alpha yet).  I do have it on the roadmap for Audio Profiles to add this, and I tend to wait until the release gets to Alpha, as at that point the feature set and API updates are normally frozen.  So the answer continues to be "yes, in the undefined future."
Ok, no problem in your time schedule. It makes sense. I simply wanted to draw your attention back to this, as a long time passed since we last discussed this. Thanks for your reply, appreciated.
For troubleshooting and bug reporting please make sure you read this first (usually it's enough to follow instructions in the second post).
Reply
  • 1
  • 14
  • 15
  • 16
  • 17
  • 18(current)

Logout Mark Read Team Forum Stats Members Help
Audio Profiles (for Kodi 18 and later)0