NanakoRaws: improved torrent pattern
This commit is contained in:
parent
f097a0f56f
commit
5823170a84
@ -84,7 +84,7 @@ var Parsers = []model.Parser{
|
||||
{
|
||||
Identity: "NanakoRaws-JP",
|
||||
TorrentParser: RegexTorrentParser(
|
||||
`^\[NanakoRaws\] (.*?) - (\d+?)(?:v\d+)?(?: END)? \((.*?)p\)(?: \(.*?\))?\.mkv \(include JPsub\)`,
|
||||
`^\[NanakoRaws\] (.*?) - (\d+?)(?:v\d+)?(?: END)? \((.*?)p\)(?: \(.*?\))?\.mkv \(include JPsub.*?\)$`,
|
||||
TorrentParseOptions{
|
||||
Name: 1,
|
||||
Episode: 2,
|
||||
@ -94,14 +94,14 @@ var Parsers = []model.Parser{
|
||||
},
|
||||
),
|
||||
FileParser: RegexFileParser(
|
||||
`^\[NanakoRaws\] (.*?) - (\d+?)(?:v\d+)?(?: END)? \((.*?)p\)(?: \(.*?\))?\.mkv`,
|
||||
`^\[NanakoRaws\] (.*?) - (\d+?)(?:v\d+)?(?: END)? \((.*?)p\)(?: \(.*?\))?\.mkv$`,
|
||||
FileParseOptions{
|
||||
Name: 1,
|
||||
Episode: 2,
|
||||
},
|
||||
),
|
||||
|
||||
// tag 0th audio stream as japanese language and copy all other streams unchanged into output file
|
||||
// tag 0th audio stream and subtitle stream as japanese language and copy all other streams unchanged into output file
|
||||
FileEncoding: "-map 0 -c:v copy -c:a copy -c:s copy -metadata:s:a:0 language=jpn -metadata:s:s:0 language=jpn",
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user