Skip to content

Commit

Permalink
fix(sonarr): sonarr ignore series with years in titles
Browse files Browse the repository at this point in the history
  • Loading branch information
l3uddz committed Dec 26, 2020
1 parent e8665da commit 8823ec6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sonarr/datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ SELECT DISTINCT M.Id
FROM Series M
WHERE M.Path IS NOT NULL
AND M.Year > 0
AND TRIM(M.Title, ' ') NOT GLOB '*([0-9][0-9][0-9][0-9])'
AND M.Path NOT LIKE '%(' || M.Year || ')%'
ORDER BY M.Id ASC
`
Expand Down

0 comments on commit 8823ec6

Please sign in to comment.