mirror of
https://github.com/Viren070/stremio-gdrive-addon.git
synced 2025-12-01 23:20:04 +01:00
feat: use shortened forms for CAM/TS/TC/SCR
This commit is contained in:
+6
-6
@@ -16,9 +16,9 @@ const CONFIG = {
|
||||
"DVDRip",
|
||||
"HDTV",
|
||||
"CAM",
|
||||
"Telesync",
|
||||
"Telecine",
|
||||
"Screener",
|
||||
"TS",
|
||||
"TC",
|
||||
"SCR",
|
||||
"Unknown",
|
||||
],
|
||||
visualTags: ["HDR10+", "HDR10", "HDR", "DV", "IMAX", "AI"],
|
||||
@@ -82,9 +82,9 @@ const REGEX_PATTERNS = {
|
||||
HDTV: /(?<![^ [_\-.])((hd|pd)tv|tv[ .\-_]?rip|hdtv[ .\-_]?rip|dsr(ip)?|sat[ .\-_]?rip)(?=[ \]_.-]|$)/i,
|
||||
// CAM/TS/SCR
|
||||
CAM: /(?<![^ [_\-.])(cam|hdcam|cam[ .\-_]?rip)(?=[ \]_.-]|$)/i,
|
||||
Telesync: /(?<![^ [_\-.])(telesync|ts|hd[ .\-_]?ts|pdvd|predvdrip)(?=[ \]_.-]|$)/i,
|
||||
Telecine: /(?<![^ [_\-.])(telecine|tc|hd[ .\-_]?tc)(?=[ \]_.-]|$)/i,
|
||||
Screener: /(?<![^ [_\-.])(((dvd|bd|web)?[ .\-_]?)?(scr(eener)?))(?=[ \]_.-]|$)/i,
|
||||
TS: /(?<![^ [_\-.])(telesync|ts|hd[ .\-_]?ts|pdvd|predvdrip)(?=[ \]_.-]|$)/i,
|
||||
TC: /(?<![^ [_\-.])(telecine|tc|hd[ .\-_]?tc)(?=[ \]_.-]|$)/i,
|
||||
SCR: /(?<![^ [_\-.])(((dvd|bd|web)?[ .\-_]?)?(scr(eener)?))(?=[ \]_.-]|$)/i,
|
||||
},
|
||||
visualTags: {
|
||||
"HDR10+": /(?<![^ [_\-.])(hdr10[ .\-_]?[+]?|hdr10plus)(?=[ \]_.-]|$)/i,
|
||||
|
||||
Reference in New Issue
Block a user