mirror of
https://github.com/simon-ding/polaris.git
synced 2026-05-28 05:27:41 +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
|
if meta.Year != year && meta.Year != year-1 && meta.Year != year+1 { //year not match
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if utils.ContainsIgnoreCase(r.Name, "soundtrack") {
|
||||||
|
//ignore soundtracks
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
filtered = append(filtered, r)
|
filtered = append(filtered, r)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user