xbmc.player() - How to get to the subtitles

How I can access to the actual subtitles, loaded/enabled currently in xbmc.Player(), when video is played? 

Is there any option, how to:
  1. Find out, if subtitles are enabled or not
  2. find out, what is filepath of currently used subtitles or
  3. find out content of currently used subtitles to be able work with it
Probably https://codedocs.xyz/AlwinEsch/kodi/grou...36c6010991
Learning Linux the hard way !!
I already tried 

getAvailableSubtitleStreams() and getSubtitles(), but it seems it returns only string name, for example:

getAvailableSubtitleStreams => ['eng']
getSubtitles => eng

When I downloaded subtitles from opensubtitles to <name>.<sublangid>.srt format.

That doesnt helps me get to the content of the file Sad
nobody knows? Sad
(2021-05-16, 10:25)JimmySmith2 Wrote: nobody knows?

Perhaps create a Github ticket with all possible information if the functionality you're after is incorrect or incomplete.
Got a Kodi problem? Provide us with a full Debug log (wiki) || Usefull pages: First time user (wiki) || Troubleshooting (wiki) || Free content (wiki) || Forum rules (wiki) || VPN policy (wiki)
(2021-05-16, 10:25)JimmySmith2 Wrote: nobody knows? Sad
You can get more information about the subtitles through the JSONRPC interface. More specifically the Player.GetProperties call.

It does not give you the filename I think (also not sure what filename would be for embedded subtitles or DVD), but you can see if subtitles are enabled and which are available.

You can check out the code of my audio/subtitle selection addon (work in progress) for some examples https://github.com/mvdwetering/service.saasbops
Thanks, I will check whats avaialable there, but actually the goal is get to the subtitles - My thought is check, lets say some % minutes before video ends, if user has enabled subtitles in Kodi. And if yes (nevermind, if they have it from video container, or copied along video file manually, or use some 3rd party plugin for download them), check, if they are available on OpenSubtitles, and if not, upload them automatically there under users OS credentials.

Check time before video ends should assure, that subtitles are valid and OK (as user watch whole video with them), and it would help any other users, which are using OpenSubtitles to check subtitles..

Logout Mark Read Team Forum Stats Members Help
xbmc.player() - How to get to the subtitles0
This forum uses Lukasz Tkacz MyBB addons.