xbmc.player() - How to get to the subtitles
#1
Hello,

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
Reply
#2
Probably https://codedocs.xyz/AlwinEsch/kodi/grou...36c6010991
Learning Linux the hard way !!
Reply
#3
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
Reply



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