mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
feat: combine hevc/x265 and avc/x264 regex
This commit is contained in:
@@ -69,9 +69,7 @@ const defaultAudioTags: AudioTag[] = [
|
||||
];
|
||||
|
||||
const defaultEncodes: Encode[] = [
|
||||
{ x265: true },
|
||||
{ HEVC: true },
|
||||
{ x264: true },
|
||||
{ AVC: true },
|
||||
];
|
||||
|
||||
|
||||
@@ -46,10 +46,8 @@ export const PARSE_REGEX = {
|
||||
AAC: /(?<![^ [_\-.])(aac)(?=[ \]_.-]|$)/i,
|
||||
},
|
||||
encodes: {
|
||||
x265: /(?<![^ [_\-.])(x265|h265|h\.265)(?=[ \]_.-]|$)/i,
|
||||
x264: /(?<![^ [_\-.])(x264|h264|h\.264)(?=[ \]_.-]|$)/i,
|
||||
HEVC: /(?<![^ [_\-.])(hevc)(?=[ \]_.-]|$)/i,
|
||||
AVC: /(?<![^ [_\-.])(avc)(?=[ \]_.-]|$)/i,
|
||||
HEVC: /(?<![^ [_\-.])(hevc|x265|h265|h\.265)(?=[ \]_.-]|$)/i,
|
||||
AVC: /(?<![^ [_\-.])(avc|x264|h264|h\.264)(?=[ \]_.-]|$)/i,
|
||||
},
|
||||
languages: {
|
||||
English: /(?<![^ [_\-.])(english|eng)(?=[ \]_.-]|$)/i,
|
||||
|
||||
Reference in New Issue
Block a user