Hi
I want to load a external subtitle to a stream but i don't know how.
I used setSubtitles but in log it says:
Please help me
Sorry for my bad english.
I want to load a external subtitle to a stream but i don't know how.
Code:
def play(finalurl):
ok=xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(finalurl).setSubtitles(wtpath + '/sub/how.srt')
addLink('Reiniciar Stream',finalurl,'')
I used setSubtitles but in log it says:
Code:
01:51:15 T:2568 ERROR: Error Type: <type 'exceptions.AttributeError'>
01:51:15 T:2568 ERROR: Error Contents: 'NoneType' object has no attribute 'setSubtitles'
Please help me
Sorry for my bad english.