mirror of
https://github.com/simon-ding/polaris.git
synced 2026-03-10 19:50:54 +08:00
feat: movie ignore sound tracks
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user