added filename to parsedFile

This commit is contained in:
milarin 2023-01-13 11:19:42 +01:00
parent e7bce7c418
commit 2c9bc69252

View File

@ -50,7 +50,7 @@ func RegexFileParser(regex string, options FileParseOptions) model.FileParserFun
parsedFile.OriginalAnimeTitle = matches[options.Name] parsedFile.OriginalAnimeTitle = matches[options.Name]
parsedFile.Episode = episode parsedFile.Episode = episode
parsedFile.Parser = parser parsedFile.Parser = parser
//parsedFile.File = filename // TODO necessary? parsedFile.File = filename
return parsedFile, true return parsedFile, true
} }