2015-01-15, 23:40
Hello, Im trying to load .sub when using https, it loads but it doesnt set the correct language like with smb or local disk.
Anyway I'm trying to fix this with script.
I found about xbmc.Player().getAvailableSubtitleStreams()
and setSubtitleStream()
it works fine to set a stream but the problem is that getAvailableSubtitleStreams() only returns lang and no id number of stream.
I made a loop for this and it prints
eng
jpn
fra
swe
dan
and so on.
The best would ofcourse be if xbmc.Player().getAvailableSubtitleStreams() could return ENG=1 and so on, but if not, any ideas?
Best regards
Niklas
Anyway I'm trying to fix this with script.
I found about xbmc.Player().getAvailableSubtitleStreams()
and setSubtitleStream()
it works fine to set a stream but the problem is that getAvailableSubtitleStreams() only returns lang and no id number of stream.
I made a loop for this and it prints
eng
jpn
fra
swe
dan
and so on.
The best would ofcourse be if xbmc.Player().getAvailableSubtitleStreams() could return ENG=1 and so on, but if not, any ideas?
Best regards
Niklas