Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 25
Release Audio Profiles - Easy switch between different audio settings
With 1.20 Everytime i change profile i get an error

I change It using remote Key

Kodi 18 on x86

Anyone get same errore ?

Here my logs

log-2017-02-08-21.14.45.zip 56 KBhttps://mega.nz/#!DVEDAQCC
I can't take this log. I need key to download it.
Best past log on http://pastebin.com
@ Regss:

does this help?
https://dl.dropboxusercontent.com/u/23586257/kodi.log

Live TV:

09:17:48.742 T:7004 NOTICE: ..::[AUDIO PROFILES TEST]::.. METHOD: Player.OnPlay
09:17:48.742 T:7004 NOTICE: ..::[AUDIO PROFILES TEST]::.. DATA: {"item":{"channeltype":"tv","id":1,"title":"Das Erste HD","type":"channel"},"player":{"playerid":1,"speed":1}}

Radio Channel:

09:18:12.489 T:7004 NOTICE: ..::[AUDIO PROFILES TEST]::.. METHOD: Player.OnPlay
09:18:12.489 T:7004 NOTICE: ..::[AUDIO PROFILES TEST]::.. DATA: {"item":{"channeltype":"radio","id":66,"title":"Bayern 1","type":"channel"},"player":{"playerid":0,"speed":1}}

Movie:

09:18:35.123 T:7004 NOTICE: ..::[AUDIO PROFILES TEST]::.. METHOD: Player.OnPlay
09:18:35.123 T:7004 NOTICE: ..::[AUDIO PROFILES TEST]::.. DATA: {"item":{"id":120,"type":"movie"},"player":{"playerid":1,"speed":1}}

Music:

09:19:08.283 T:7004 NOTICE: ..::[AUDIO PROFILES TEST]::.. METHOD: Player.OnPlay
09:19:08.283 T:7004 NOTICE: ..::[AUDIO PROFILES TEST]::.. DATA: {"item":{"id":90979,"type":"song"},"player":{"playerid":0,"speed":1}}
@candrian, Please download again modified autoexec.py. I must check that every channel switch KODI generate event with OnStop. Put only kodi.log. Thanks.
Check this:
https://dl.dropboxusercontent.com/u/2358...exec_2.log
I added version 1.2.1 to my repository. Check how it works now. The autoexec.py no longer needed. I implement debuging options to script. You must only enable logging in kodi -> system -> logging -> enable debug logging.
(2017-02-09, 09:18)Regss Wrote: I can't take this log. I need key to download it.
Best past log on http://pastebin.com

Sorry..

https://www.dropbox.com/s/dye88t1yk0trnj...5.zip?dl=0

in autoexec i have

Code:
import xbmc
xbmc.executebuiltin('XBMC.RunScript(script.audio.profiles,1)')

thanks
Thumbs Up 
Yippie - works like a charm!

Test config:
all video --> profile 1 (in my case 5.1)
all audio --> profile 2 (in my case 2.1 + stereo upmix)

Testet this:
TV channel, Movie Files, Movie DB, Youtube addon, other video addons --> automatic switch to profile 1
Radio channel, music files, music DB, Spotify addon, Radio (Webradio) addon --> automatic switch to profile 2

Absolute cool Cool - you integrated the Automatic Audio Switcher (obsolete now) into your Audio Profiles with more options!

Thanks a lot Blush
(2017-02-09, 12:52)Roby77 Wrote:
(2017-02-09, 09:18)Regss Wrote: I can't take this log. I need key to download it.
Best past log on http://pastebin.com

Sorry..

https://www.dropbox.com/s/dye88t1yk0trnj...5.zip?dl=0

in autoexec i have

Code:
import xbmc
xbmc.executebuiltin('XBMC.RunScript(script.audio.profiles,1)')

thanks

I fix this parse error on v. 1.2.2.
Now you don't need to use autoexec.py to set profile on kodi start. Just in addon settings in automatic switch choose profile for GUI then every time if you change profile then stop playing or restart KODI profile for GUI will be activated.


Guys maybe I add one more automatic switch option - "Force to enable profile when KODI start/wake up". This helps when we do some manual change in audio settings and restart KODI then force to switch to choosen profile.
(2017-02-09, 14:18)Regss Wrote:
(2017-02-09, 12:52)Roby77 Wrote:
(2017-02-09, 09:18)Regss Wrote: I can't take this log. I need key to download it.
Best past log on http://pastebin.com

Sorry..

https://www.dropbox.com/s/dye88t1yk0trnj...5.zip?dl=0

in autoexec i have

Code:
import xbmc
xbmc.executebuiltin('XBMC.RunScript(script.audio.profiles,1)')

thanks

I fix this parse error on v. 1.2.2.
Now you don't need to use autoexec.py to set profile on kodi start. Just in addon settings in automatic switch choose profile for GUI then every time if you change profile then stop playing or restart KODI profile for GUI will be activated.


Guys maybe I add one more automatic switch option - "Force to enable profile when KODI start/wake up". This helps when we do some manual change in audio settings and restart KODI then force to switch to choosen profile.


Sorry updated to 1.22 and deleted autoexec but i still get error Everytime time i change profile via remote Key

New log

https://www.dropbox.com/s/uhltqfxnj5j97x...3.zip?dl=0

Edit new logs using dmesg

LibreELEC (community) Version: devel-20170207215743-#0207-g8e51cee
LibreELEC git: 8e51cee404d675b026ab720e069392489e520f37
LibreELEC:~ # cat /storage/.kodi/temp/kodi.log | pastebinit

http://sprunge.us/jQEA
LibreELEC:~ #
LibreELEC:~ #
LibreELEC:~ #
LibreELEC:~ # dmesg | pastebinit
http://sprunge.us/PZgO
Fast fix. Check 1.2.3 Smile
Information 
Wow - Regss, seems that your activity level is really high - is it raining outside? Cool

One minor thing: I start Kodi with "Continue on last channel on startup" to jump directly into the last PVR channel.

So when I left Kodi e.g. with the audio profile he doesn't switch to the video profile after startup. Need to change channel then it works.
Probably solved with your "Force to enable profile when KODI start/wake up".

Once again: minor thing
.....but setting the profile for GUI also to the profile used for video works fine.
(2017-02-09, 15:24)Regss Wrote: Fast fix. Check 1.2.3 Smile

Can't find 1.23 in your repo

Btw now with 1.22 problem disappeared ...strange
Hi,

Just want to notify the following missing label in the settings (version 1.2.3):

Image

Ciao!
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!
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 25

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