Subtitles support for streaming source
#1
hi all,

my friend is running a vod server which contains thousands of wmv movie files, each movie has a subtitle. when i use windows media player to watch movies from his server i can see all subtitle without any problem (ex: open this url by windows media player mms://vod/movie.wmv?sami=http://vod/sub/movie.smi) . but i couldnt see any sub if i creat .strm file then use xmbc to watch. i have downloaded the subtitle separately then rename it to match with .strm file just like put movie.strm and movie.srt into same directory but still no luck.

any chance to make it works?
Reply
#2
if you can compile xbmc, replace the following line from the file xbmc/cores/mplayer.cpp

if (!bfileoninternet && bisvideo && !bisdvd)

to

if (bisvideo && !bisdvd)

and copy the subtitle to your xbmc/subtitles dir

i'm not 100% sure but it should work.
Reply
#3
thanks for your advice but sadly it doesnt work at all Image
Reply
#4
i moved string

if (url.getprotocol() =="mms" || url.getprotocol()=="mms") return ;

in cutil::cachesubtitles of util.cpp

to below (just before string if (url.getprotocol() =="mms" || url.getprotocol()=="mms") return Wink then it's working now :d
Reply
#5
sorry, i forgot to check the cachesubtitles function Sad
Reply

Logout Mark Read Team Forum Stats Members Help
Subtitles support for streaming source0