2021-02-06, 15:11
When you're watching a video and pause it to go to Subtitles > Browse for subtitle... and open the dialog, the dialog now shows the directory items that your add-on generates, instead of showing the device filesystem for you to browse for subtitle files.
On Kodi Krypton this error didn't happen, it always showed the filesystem as expected.
On my own add-on I can see that Kodi is invoking the add-on again, that's why the add-on is generating a directory.
Isn't there a way to just tell Kodi to use the filesystem already for this Browse For Subtitles dialog, like it's supposed to? Kodi doesn't send any extra parameters in sys.argv that I can use to tell when it's doing this "subtitle browsing" invoking vs regular navigation invoking.
On Kodi Krypton this error didn't happen, it always showed the filesystem as expected.
On my own add-on I can see that Kodi is invoking the add-on again, that's why the add-on is generating a directory.
Isn't there a way to just tell Kodi to use the filesystem already for this Browse For Subtitles dialog, like it's supposed to? Kodi doesn't send any extra parameters in sys.argv that I can use to tell when it's doing this "subtitle browsing" invoking vs regular navigation invoking.