Additional playable extensions
This commit is contained in:
@@ -319,14 +319,14 @@ func checkArithmeticSequenceInFilenames(files []string) bool {
|
||||
}
|
||||
r := regexp.MustCompile(`\d+`)
|
||||
for _, file := range files {
|
||||
if !utils.IsStreamable(file) {
|
||||
if !utils.IsPlayable(file) {
|
||||
continue
|
||||
}
|
||||
matches := r.FindAllStringIndex(file, -1)
|
||||
for _, match := range matches {
|
||||
numSet := make(map[int]struct{})
|
||||
for _, file := range files {
|
||||
if !utils.IsStreamable(file) {
|
||||
if !utils.IsPlayable(file) {
|
||||
continue
|
||||
}
|
||||
if match[0] >= 0 && match[1] <= len(file) {
|
||||
|
||||
Reference in New Issue
Block a user