peno64 / service.subtitles.localsubtitle

addon to add a local subtitle to a kodi movie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Browse for subtitle - Folder empty

DaisyF8 opened this issue · comments

I'm browsing to the folder with my subtitles ending with .srt and .ssa but don't see them.

I'm not good at reading code, but does your app only show subtitles if they are named like video.srt or video.ssa ?

Will Real_name_of_movie.srt be shown ?

All files endiing with .srt and .ssa are shown. In fact the following extensions are supported:
.srt|.sub|.ssa|.ass|.idx|.smi|.aqt|.scc|.jss|.ogm|.pjs|.rt|.smi

If browse for subtitle doesn't show your files then this must be a kodi issue because a standard kodi brows for file dialog is used for that:

subtitlefile = xbmcgui.Dialog().browse(1, language(32011), "video", ".srt|.sub|.ssa|.ass|.idx|.smi|.aqt|.scc|.jss|.ogm|.pjs|.rt|.smi", False, False, subtitlepath, False)