Release Audio Profiles (for Kodi 18 and later)
my solution: i modified your "audioprofiles.py"

if channels:
if channels > 2:
channels_set = 'auto_multichannel'
# path where original file is located
sourcePath = "c:\\Program Files\\EqualizerAPO\\config\\mch.txt"
# path were a copy of file is needed
destinationPath = "c:\\Program Files\\EqualizerAPO\\config\\config.txt"
# call copyfile() method
shutil.copyfile(sourcePath, destinationPath)
else:
channels_set = 'auto_stereo'
# path where original file is located
sourcePath = "c:\\Program Files\\EqualizerAPO\\config\\2ch.txt"
# path were a copy of file is needed
destinationPath = "c:\\Program Files\\EqualizerAPO\\config\\config.txt"
# call copyfile() method
shutil.copyfile(sourcePath, destinationPath)
else:
channels_set = 'none'

now i can controll Equalizer APO thx

only problem: when i play music with Kodi it dosnt change the audio profile to stereo
Reply


Messages In This Thread
RE: Audio Profiles (for Kodi 18 and later) - by Gee11 - 2020-12-02, 23:42
Logout Mark Read Team Forum Stats Members Help
Audio Profiles (for Kodi 18 and later)0