Hey, first of all thank you for this amazing addon.
I have a suggestion / feature request. I am not sure if this has been discussed before. If it has been discussed, I'd be happy to be filled in on the details. As a developer myself I was already looking into implementing it before finding this addon.
My idea is the following:
Add an option that stores the preference on a per show/movie basis. That means if I manually override the selected audio/subtitle it will do the following:
Extract a unique identifier for the show/movie and extract the language from the selected options. If no language was found: Store a pattern that plainly matches the index/name of the track (I have experienced media that has mislabeled tracks, which show up as "undefined" or similar)
Then store it as a seperate preference for the show/movie. That means if I pull up the next episode of the show it selects that audio/subtitle track instead of what my generic configuration says.
For example I usually prefer English over any other language. And I have specified that in the settings. But some things I'd like to watch in the OV language. Afaik there is no way to differentiate that right now if the languages between two media files overlaps (as in I want to watch one thing in Swedish and another in English, but both have an English track/subtitle).
Do you think that is possible?
I feel like the only thing missing from the code right now is: Detect when the user manually changes the player settings and then store preferences in a list/seperate file per media. Of course restoring the preferences is another part, but I feel like most of that is already handled by the current logic anyway.
EDIT:
Been working on it myself. Got it working with basic functionality. Need to remove some debug, detect subtitle changes seperately from audio changes and cleanup.
But audio selection tracking works.
https://github.com/SgtJalau/service.Lang...nceManager