Reply to thread

Heh...got it working ;)


Only challenge right now is, that in order to enable subtitles, the subtitle dir used must be configured in MediaPortal Configuration, for test-purposes I used C:\Subs\ which then should be added to the dirs MPC HC (or FFDShow) looks for subtitles in. I'll try and overcome this later on.


So, the plugin downloads subtitles in XML-format in all languages (currently 4), re-arranges them to SRT-format, and saves them in C:\Subs\Moviename.Language.srt order.


Then I just load the subtitles with a fake moviefile matching the subtitle Moviename. Here I remove characters not allowed in Windows-filenames.


I'll release a test-version of the plugin when I've done the rest of the coding.


Top Bottom