You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
using System.Collections.Generic;
|
|
|
|
namespace NzbDrone.Core.Extras.Subtitles
|
|
{
|
|
public static class SubtitleFileExtensions
|
|
{
|
|
private static HashSet<string> _fileExtensions;
|
|
|
|
static SubtitleFileExtensions()
|
|
{
|
|
_fileExtensions = new HashSet<string>
|
|
{
|
|
".aqt",
|
|
".ass",
|
|
".idx",
|
|
".jss",
|
|
".psb",
|
|
".rt",
|
|
".smi",
|
|
".srt",
|
|
".ssa",
|
|
".sub",
|
|
".txt",
|
|
".utf",
|
|
".utf8",
|
|
".utf-8"
|
|
};
|
|
}
|
|
|
|
public static HashSet<string> Extensions
|
|
{
|
|
get { return _fileExtensions; }
|
|
}
|
|
}
|
|
}
|