•   
  • 1
  • 7
  • 8
  • 9
  • 10
  • 11(current)
Release Audio Profiles (for Kodi 18 and later)
Hello,

I tested this add-on for a particular need, but unfortunately it doesn't seems to work for what I need...

I'd to ask a feature request for that : to give the ability to the "Language" submenu in "Player Settings" to be recalled with the Profiles.
(like the "Videos" submenu does)

My goal would be that at movies's launch, the add-on windows that pop up gives me choice between 2 profiles :

- Profile 1 : "VO" (Original audio version with French subtitles)
- Profile 2 : "VF"  (French audio version with no subtitles)

That Profile 2 would be ideal for my 4 years old daughter and my mother in law when she's home  Rofl

That feature request would be awesome for me !!
If not possible, anybody would have an idea how to achieve my goal ?
I did tests with Kodi profiles, it may work but is way to complicated to configure.

Thanks everybody !

------
EDIT
------

Forget about this request, I realized that when the pop-up asks to choose a profile, the movie has already started.
So even if I set "original language" and "French subtitles" in the Video Player/Language section, it's too late as the movie has already started.
So I have to change in the media audio and subtilies.
So it needs a different method.

Anyway if anybody has an idea how to achieve my goal, well please let me know !
Thanks !
Reply
Hi everybody,

this addon is exactly what I've been looking for!
Is there a way to switch profiles using the Yatse remote app? My Kodi is running on a headless Raspberry PI without any keyboard. And since I mostly use it for music, it won't react on any input from a TV remote control.

Thanks in advance
Reply
(2021-09-13, 08:02)HeiMz Wrote: Hi everybody,

this addon is exactly what I've been looking for!
Is there a way to switch profiles using the Yatse remote app? My Kodi is running on a headless Raspberry PI without any keyboard. And since I mostly use it for music, it won't react on any input from a TV remote control.

Thanks in advance
I don't use the YASTE remote, but it looks like you can add custom commands to YASTE (number 6 references custom commands):

https://www.yatse.tv/wiki/how-to-use-yatse-kodi-remote

If you look at the Audio Profiles wiki, there are examples of switching profiles via a custom keymap:

https://kodi.wiki/view/Add-on:Audio_Prof...ng_Keymaps

But even with all that, I think the problem is that YASTE uses the Kodi JSON API, and I can't find any option in the JSON API docs to run a script.  But I'm including all this anyway to maybe get you started.  Maybe the YASTE folks know something I don't.
Reply
(2021-09-13, 14:58)pkscout Wrote:
(2021-09-13, 08:02)HeiMz Wrote:  
I don't use the YASTE remote, but it looks like you can add custom commands to YASTE (number 6 references custom commands):

Thanks for your answer! Yes, it seems that there is a possibility to add custom commands to Yatse - but only in the PRO version. And since I'm using a degoogled phone, I can't buy anything at the playstore.

Another possibility for me could be Eldrik's JSON-RPC solution, but unfortuately, the ExecuteAddon method (and many others) is disabled in the latest Kodi versions. Is there any way to enable it, maybe by editing a configuration file?
Reply
(2021-09-14, 08:01)HeiMz Wrote:
(2021-09-13, 14:58)pkscout Wrote:
(2021-09-13, 08:02)HeiMz Wrote:  
I don't use the YASTE remote, but it looks like you can add custom commands to YASTE (number 6 references custom commands):

Thanks for your answer! Yes, it seems that there is a possibility to add custom commands to Yatse - but only in the PRO version. And since I'm using a degoogled phone, I can't buy anything at the playstore.

Another possibility for me could be Eldrik's JSON-RPC solution, but unfortuately, the ExecuteAddon method (and many others) is disabled in the latest Kodi versions. Is there any way to enable it, maybe by editing a configuration file?
As far as I know there isn't any way to selectively enable/disable parts of the API. ExecuteAddon (which I had missed when I looked at the docs) is there for the v12 API (for Matrix), so you should be able to use it.  Are you seeing something specific that leads you to believe ExecuteAddon isn't working?

https://kodi.wiki/view/JSON-RPC_API/v12#...ecuteAddon
Reply
Thanks again for your kind reply!
Quote:Are you seeing something specific that leads you to believe ExecuteAddon isn't working?
Yes: Entering "http://<MyKodi>/jsonrpc?request={%22jsonrpc%22:%20%222.0%22,%20%22id%22:%201,%20%22method%22:%20%22JSONRPC.Permission%22}" gives me


id 1
jsonrpc "2.0"
result
ControlGUI false
ControlNotify false
ControlPVR false
ControlPlayback false
ControlPower false
ControlSystem false
ExecuteAddon false
ManageAddon false
Navigate false
ReadData true
RemoveData false
UpdateData false
WriteFile false

I should mention that these limitations seem to be only for http calls. Python calls should work, but writing python code is far beyond my abilities.

But I've finally found another solution:

In the custom commands menu, Yatse (free Version!) will let you import some commands from Kodi, among which is a numeric keypad. So you can use this keypad and map audio profiles to numeric keys.
Reply
PLS can u modify the Addon to check every second for new codec ?   The detection delay thing isnt a good way for me..

3 reasons:
1. source can load 1 sec
2. source can load 10 sec
3. Live TV switches between stereo and multi channel (e.g. commercials and movie) without switching the TV channel

I modified the addon by my self to controll Equalizer Apo. (load different APO configs when Profile 1 / 2 is activated by the addon)

But im not sooooo familiar with python 3. So i cant do the 1 sec interval channels check - Profile update
Reply
(2021-09-21, 00:26)Gee11 Wrote: PLS can u modify the Addon to check every second for new codec ?   The detection delay thing isnt a good way for me..

3 reasons:
1. source can load 1 sec
2. source can load 10 sec
3. Live TV switches between stereo and multi channel (e.g. commercials and movie) without switching the TV channel

I modified the addon by my self to controll Equalizer Apo. (load different APO configs when Profile 1 / 2 is activated by the addon)

But im not sooooo familiar with python 3. So i cant do the 1 sec interval channels check - Profile update
Sorry, I'm not going to do that. Polling the audio on an ongoing basis would be a huge drag on resources and create a negative experience for everyone just to address some very odd edge cases you presented.
Reply
testing one time a second shold not be use that mutch resources.... but i see i must do it on my self.. again

update: I successfully modified the addon to update the Channels status every Second. So it now detects a changing channel layout without stop/start the Video Stream. And it works perfect for me
Reply
Hello,

I have installed a nightly build of Libreelec and I am having problems running Audio Profiles. I have installed the script via the Kodi Addon repository.


Kodi.log
Reply
(2021-10-12, 11:51)dippes Wrote: Hello,

I have installed a nightly build of Libreelec and I am having problems running Audio Profiles. I have installed the script via the Kodi Addon repository.


Kodi.log
It won't run in the Kodi 20 Nightlies right now.  There's a depreciated call that I need to replace.
Reply
Will this still happen for the nightlies so that you can use the ingenious plugin?
Reply
(2021-10-15, 14:28)dippes Wrote: Will this still happen for the nightlies so that you can use the ingenious plugin?
At some point, yes.  But I started a new job recently, and we have a big system rollout in a couple weeks, so I haven't had much of any time for any of my Kodi stuff.  So I can't say when.
Reply
(2021-10-15, 14:28)dippes Wrote: Will this still happen for the nightlies so that you can use the ingenious plugin?
OK, I felt so guilty I found a couple minutes to make the changes (they're pretty minor).  It's available on my Github site if you want to install it manually.  I'll try to find time this weekend to get it in the queue for the official repo.

https://github.com/pkscout/script.audio.profiles
Reply
Many many thanks
Reply
  •   
  • 1
  • 7
  • 8
  • 9
  • 10
  • 11(current)



Logout Mark Read Team Forum Stats Members Help
Audio Profiles (for Kodi 18 and later)0
This forum uses Lukasz Tkacz MyBB addons.