Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 25
Release Audio Profiles - Easy switch between different audio settings
Wow I found a solution for Coreelec 9 here you just have to download the 2 files and put them to /storage/.config/udev.rules.d

you can chmod +x the .sh if any issue

No reboot needed !!!!!

Incredible here the blog in russian use google translate http://www.kapiba.ru/2018/09/bluetooth-coreelec.html
https://cloud.mail.ru/public/EDqT/6tAL83...Autoswitch

If thats work for you give me thumb up !!! 8-)))
@Regss could you please make a christmas gift to us updating your script to python 3 ?  Blush
(2019-12-02, 09:55)Roby77 Wrote: @Regss could you please make a christmas gift to us updating your script to python 3 ?  Blush

https://forum.kodi.tv/showthread.php?tid...pid2903782 check this
(2019-12-02, 10:28)tomasiek Wrote:
(2019-12-02, 09:55)Roby77 Wrote: @Regss could you please make a christmas gift to us updating your script to python 3 ?  Blush

https://forum.kodi.tv/showthread.php?tid...pid2903782 check this 

wow thank you

will test asap
@tomasiek version of github (not.1.4 linked) seems to work perfectly

thanks
Yes - the repo version might not work, it probably had a few bugs - as I said this is test repository, for private use only. So I put it on github normally, maybe then I'll create a separate repository only for this add-on.
(2019-11-27, 21:31)tomasiek Wrote: A friend converted the plugin to work with kodi 19. I tested - it works for me. Downloadable here:
https://github.com/notoco/script.audio.profiles - source code
Maybe someone will review it and put it in some more official repo?
@tomasiek things do not get into the official repo by magic, the author needs to submit their work for review
@DaveBlake I was not talking about the official kodi repository Smile I'm too small beetle for that. However, I wanted someone more knowledgeable than me in python to take control of it. At the moment I can deal with this at a basic level (translations, appearance corrections), but in a separate repository. So far, I've shared it for testing - I'm waiting for any comments on github.
@tomasiek there is no such thing as too small a beetle Smile
(2019-12-03, 11:32)tomasiek Wrote: However, I wanted someone more knowledgeable than me in python to take control of it.
Well the original author @Regss has not been active since 2017 so this addon is in need of a new maintainer, especially to be made Python3 compatibile for use with Kodi v19 onwards.

I think this is a very useful addon - in fact it is the only one I use on my family system - and while I'm a core dev and team member, I know nothing about Python (I just don't have the spare time, so I focus my skills on the music db). So I also hope that some one from the wider community will step up and take this on. Don't be shy @tomasiek, that could be you.
Ok. I made a separate repository, I improved the readme a bit. I will start to correct what annoys me in the code (no order in translations), I will start working on the "skin" - because I can do it.
If someone is willing to help, I invite you to Github:
https://github.com/notoco/script.audio.profiles
As soon as I get over it, I will prepare a separate repository (I don't want to mix it with my current ones because I did it for my family's use)
I totally agree with DaveBlake

BTW updated Italian translation

Thank you
I've just launched a repository with this plugin only.
https://github.com/notoco/repository.notoco
Download

I am not a programmer, so I expect help from people interested in further development of the add-on.
What am I planning?
- make order in translations
- adapt the plugin to the requirements of the official KODI repository
- correct skin - default appearance when selecting a source
- add a handbook for skinners.
G'day all.

I'm trying to resolve a particular behaviour when I switch between my soundbar and headphones profiles using the Audio Profiles addon (v1.2.0).

I was running LibreELEC 9.2.0 on an RPi 3B+ and had created a keyboard.xml file which mapped the 'g' key on the keyboard as the key to switch between my two profiles (I used the 'g' key since it doesn't seem to be in use as a Kodi keyboard shortcut, and I used the looping option rather than have a key for each profile).

Keyboard.xml - https://paste.kodi.tv/sewukeleka.kodi

Whenever I pressed the 'g' key on the keyboard, the audio profile would be switched, but it would also either cause the playback to stop, or Kodi to crash entirely. If I used the key to switch profiles before playback was started, the profile was switched with no other side effects.

I tried upgrading from v1.2.0 to v1.2.5, but I got the same behaviour. When I upgraded to v1.4.0 all I would get was a notification that the audio profile was being switched, but the profile didn't change, and playback was unaffected (nothing seemed to be happening in the background apart from the Audio Profiles notification being displayed on the screen).

I then downgraded to LE 8.2.5 and tried again with both v1.2.0 and v1.2.5 of the Audio Profiles addon. With LE 8.2.5 running, pressing the 'g' key switches between audio profiles successfully, and there is no crash nor stopping of playback. However, each time I press the 'g' key to switch between audio profiles it skips the video forward by about 7 seconds. I wondered whether it was related to my skip settings, but removing the + or - 10 second skip option made no difference; it still jumped forward by about 7 seconds after each 'g' key press.

I have several logs attached below, but trying to decipher them is a bit beyond me.

At this stage, running LE 8.2.5 and having to skip back 10 seconds after a profile switch at worst is perfectly manageable. However, I'd still like to find out what is causing the behaviour.

LE 9.2.0 APv1.2.0 CRASH log - https://paste.kodi.tv/magahamowu.kodi
Line 3470 - HandleKey: g

LE 9.2.0 APv1.2.0 PLAYBACK STOP log - https://paste.kodi.tv/jehivudeki.kodi
Lines 4660 & 4669 - HandleKey: g

LE 9.2.0 APv1.4.0 NOTIFICATION ONLY log - https://paste.kodi.tv/nekicadaca.kodi
Lines 6244, 6277, 6309, 6341 & 6373 - HandleKey: g

LE 8.2.5 APv1.2.0 7 SECOND SKIP log - https://paste.kodi.tv/dofilopuza.kodi
Lines 2298 & 2692 - OnKey: g

LE 8.2.5 APv1.2.5 7 SECOND SKIP log - https://paste.kodi.tv/gelowugope.kodi
Lines 1909 & 2440 - OnKey: g
After update from 1.2 or 1.2.5 to 1.4 remove settings (or set is as default), restart kodi and try to set new settings. 
I had a similar situation on one of the coreelc boxes.
(2019-12-06, 09:05)tomasiek Wrote: I am not a programmer, so I expect help from people interested in further development of the add-on.
What am I planning?
- make order in translations
- adapt the plugin to the requirements of the official KODI repository
- correct skin - default appearance when selecting a source
- add a handbook for skinners.
Thanks for taking this on @tomasiek, I hope the wider community will step up and help you out  too.  Ping me if you need some specific help and I will try to find someone on the team with an answer (but we are all pretty streched at the moment).
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 25

Logout Mark Read Team Forum Stats Members Help
Audio Profiles - Easy switch between different audio settings3