NanakoRaws-JP with japanese subtitles added

This commit is contained in:
milarin 2023-01-17 12:15:25 +01:00
parent b57ecf49e1
commit 0e396d5bc1

View File

@ -78,4 +78,25 @@ var Parsers = []model.Parser{
),
FileEncoding: "-map 0 -c:v copy -c:a copy -c:s copy -metadata:s:a:0 language=jpn",
},
{
Identity: "NanakoRaws-JP",
TorrentParser: RegexTorrentParser(
`^\[NanakoRaws\] (.*?) - (\d+?)(?:v\d+)?(?: END)? \((.*?)p\)(?: \(.*?\))?\.mkv \(include JPsub\)`,
TorrentParseOptions{
Name: 1,
Episode: 2,
Resolution: 3,
DefaultLanguages: []string{"ja"},
DefaultSubtitles: []string{"ja"},
},
),
FileParser: RegexFileParser(
`^\[NanakoRaws\] (.*?) - (\d+?)(?:v\d+)?(?: END)? \((.*?)p\)(?: \(.*?\))?\.mkv`,
FileParseOptions{
Name: 1,
Episode: 2,
},
),
},
}