New Alpha Release
v.2.0.0~alpha3 (Leia) and v.2.0.100~alpha3 (Matrix)
- custom skin menu is now centered on screen no matter how many profiles are active
- added support for up to 10 audio profiles
- added auto switching by codec kind and channel count (for videos only)
- substantially reorganized settings
As with the last one, this is available as a zip from the Github releases page.
https://github.com/pkscout/script.audio....s/releases
I noticed someone in the original Audio Profiles thread had asked about support for more profiles. Even though that was before I took over, ask and you shall receive. If you need more than 10 audio profiles, you probably need to talk to someone about that. '-) With the additional profile support, any setting you had in auto switching that used the Select Menu option had to change. The script goes through at startup and makes an attempt to fix those, but if you used to see "Select Menu" as your selected option but now see "Profile 5" you just need to reselect "Select Menu" and you should be good.
As mentioned above, the settings menu has been substantially reorganized to make room for 6 more profiles plus the auto switching by codec options. No old settings have changed, but you will have some new options you might want to explore. With the increased number of profile options, I also changed the settings to use a select dialog box rather than the "spinner" that rotates up or down one at a time. I kind of hate the spinner, and it's even worse with lots of options. I think the select dialog is more clear.
I've made no effort yet to upgrade the non-English language files, so right now if you're using another language that Audio Profiles supports you will see a mix of English and your native language. If you want to do updated language files, that would be great. I think the settings are stable enough for that now. If you do a GitHub pull request, please do it to the
next-version branch, NOT master. Also, one quick note for folks doing translations - the non-English part goes in the
msgstr area and the English phrase goes in
msgid. Here's an example:
xml:
#: Settings
msgctxt "#32001"
msgid " Name of profile 1"
msgstr " Nome del Profilo 1"
Another thing. The auto switch settings have a hierarchy (because it's possible to have a video file match multiple things). Here's how it works:
- The codec options ONLY work with video files (this is a Kodi limitation), so if the file playing isn't a video, the old library based content settings are used.
- If the codec used by the video file matches one you'd elected to use, Audio Profiles uses that. If there are no matches or you didn't enable any, AP moves on to the next step.
- if the number of audio channels matches one of the ones you enabled (stereo or multichannel), Audio Profiles uses that. If there are no matches or you didn't enable any, AP moves on to the next step.
- Finally, Audio Profiles uses the old library based content matching options.
Last thing (for now). It can take a second or two for a video to load enough for Kodi to be able to report the codec/channel information (sometimes longer for streaming files). By default AP waits 2 seconds before checking the video file, but if you find the codec based matching not working, there is a setting in the codec section to increase the time to wait (I've ended up on 5 seconds to give my Disney+ stuff time to load for instance). If you aren't going to use the codec matching, you can reduce the time to 1 second just to speed things up a little.