- Add support for merging files from torrents with the same name

- Add infohash as a folder naming
- Other minor bugs
This commit is contained in:
Mukhtar Akere
2025-04-22 19:32:55 +01:00
parent 2139d3a175
commit fb39e92a88
5 changed files with 45 additions and 13 deletions

View File

@@ -54,5 +54,8 @@ func IsMediaFile(path string) bool {
}
func IsSampleFile(path string) bool {
if strings.HasSuffix(strings.ToLower(path), "sample.mkv") {
return true
}
return RegexMatch(SAMPLEMATCH, path)
}