Ohys-Raws: add optional v2 to file parser

This commit is contained in:
milarin 2023-03-03 09:53:41 +01:00
parent ebafcaa8e6
commit f097a0f56f

View File

@ -118,7 +118,7 @@ var Parsers = []model.Parser{
}, },
), ),
FileParser: RegexFileParser( FileParser: RegexFileParser(
`^\[Ohys-Raws\] (.*) - (.*?) (?:END )?\(.*?\)\.mp4$`, `^\[Ohys-Raws\] (.*) - (.*?) (?:END )?\(.*?\)(?: v2)?\.mp4$`,
FileParseOptions{ FileParseOptions{
Name: 1, Name: 1,
Episode: 2, Episode: 2,