Skip to content

Commit

Permalink
MP1-5171: Added webvtt subtitle extension to supported subtitle files
Browse files Browse the repository at this point in the history
  • Loading branch information
epbk committed Aug 4, 2023
1 parent 81d1805 commit 1c9e5ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ public int AddMovieFile(string strFile)

string[] sub_exts = {
".utf", ".utf8", ".utf-8", ".sub", ".srt", ".smi", ".rt", ".txt", ".ssa", ".aqt", ".jss",
".ass", ".idx", ".ifo"
".ass", ".idx", ".ifo", ".webvtt", ".vtt"
};

// check if movie has subtitles
Expand Down
2 changes: 1 addition & 1 deletion mediaportal/WindowPlugins/GUIVideos/GUIVideoFiles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5038,7 +5038,7 @@ private void DownloadSubtitles()
List<GUIListItem> listFiles = _virtualDirectory.GetDirectoryUnProtectedExt(_currentFolder, false);
string[] subExts = {
".utf", ".utf8", ".utf-8", ".sub", ".srt", ".smi", ".rt", ".txt", ".ssa", ".aqt", ".jss",
".ass", ".idx", ".ifo"
".ass", ".idx", ".ifo", ".webvtt", ".vtt"
};
if (!isDVD)
{
Expand Down

0 comments on commit 1c9e5ef

Please sign in to comment.