feat: movie ignore sound tracks

This commit is contained in:
Simon Ding
2024-07-26 13:45:25 +08:00
parent 317f5655b8
commit 2cb6a15c0b

View File

@@ -110,6 +110,10 @@ func SearchMovie(db1 *db.Client, movieId int, checkResolution bool) ([]torznab.R
if meta.Year != year && meta.Year != year-1 && meta.Year != year+1 { //year not match
continue
}
if utils.ContainsIgnoreCase(r.Name, "soundtrack") {
//ignore soundtracks
continue
}
filtered = append(filtered, r)