2011-03-05, 16:15
amet Wrote:without rewriting gui.py to accept it there is no way to do it. let me see what I can do... no promises
So I decided to do it myself
It's basically done and I tested it but again there's a problem I don't know how to get around: the files (.sub+.idx) are extracted and copied correctly, but when the video continues to play they aren't shown. Stopping and starting the video works.
I'm pretty sure the problem is with "xbmc.Player().setSubtitles(file_to)": since the problem was the lack of .idx to begin with, I assume using setSubtitles() to select just the .sub has the exact same affect.
I tried looking for the documentation of setSubtitles() but all I found is a one liner that says it sets the subtitles for the current video player. I have no idea how to set multiple files or if that's even possible. amet/mr_blobby, could you please help? I need someone familiar with xbmc's source this time...