python - XBMC Kodi Subtitles Not Showing -


i trying subtitle track play video, subtitles not appearing. srt file:

https://adbience-staging.s3-us-west-2.amazonaws.com/podcast_srt_english_b9e728d9-7953-4ff6-b287-e150be3d4b45

my code follows:

player  = exampleplayer()  subtitle_file='https://adbience-staging.s3-us-west-2.amazonaws.com/podcast_srt_english_b9e728d9-7953-4ff6-b287-e150be3d4b45'  def downloadsubtitles(subtitlesurl):         global player          while not player.isplaying():             xbmc.sleep(5) #wait until video being played         player.setsubtitles(subtitlesurl)         player.showsubtitles(true)         xbmc.player().setsubtitles(subtitlesurl)  player.play(item=file, listitem=items) downloadsubtitles(subtitle_file) 

but subtitles never show in layer. doing wrong?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -