(2022-12-02, 13:15)mariofenech Wrote: Is there anyway that you can reset previously saved audio offsets made from this addon on profile change?
My point is that if you start watching a movie on bluetooth and addon sets its offsets as from settings and then change back to TV it seems like it's keeping same offsets as on bluetooth profile probably because that was set to be the default for that type of movie..
I think something like what @devkid suggested forcing comand through json would work as hopefully it will override any defaults..
If you set a delay (through Kodi's settings!) for any channel/movie, Kodi saves the delay value of each channel/movie separately.
When you use this addon and toggle between speakers/Bluetooth, all previous delay values of all channels and movies are reset to the same value you set as default.
If you want to change the delay value only once, for example for the current movie, you can press A and then with the right/left arrows. This delay value will be saved for this movie only, until the next toggle.
If I understood correctly, you suggest that it would be possible to change the default value via json, so that there is a separate "profile" for TV/movies.
I didn't understand how you intend to use json, since each movie can have a different delay value and it's really impossible to have one profile for all movies. Therefore, you have to rewrite/edit the json each time with a different value, until you find the appropriate delay for that movie.
Anyway, I'll try to integrate @devkid's suggestion.
Thanks