How to ignore movie if year is missing?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
firekidop
Newbie
Newbie
Posts: 18
Joined: May 20th, 2019, 5:17 pm

How to ignore movie if year is missing?

Post by firekidop »

i don't want to download if release name don't have year in file. like:

Code: Select all

Bearry 1080p AMZN WEBRip DD2 0 x264-EVO
but download if there is year available. any help please? sorry for my english

Code: Select all

Bearry 2021 1080p AMZN WEBRip DD2 0 x264-EVO
User avatar
jcfp
Release Testers
Release Testers
Posts: 1004
Joined: February 7th, 2008, 12:45 pm

Re: How to ignore movie if year is missing?

Post by jcfp »

You can use a pre-queue script to check for that, and make it refuse or pause the job if the year is missing. The check itself would typically be implemented in the form of a regular expression, along the lines of

Code: Select all

^.+[\s._](19|20)[0-9]{2}[\s._]
for a year 20th or 21st century year, surrounded by some form of spacing, that isn't at the start of the job title.
firekidop
Newbie
Newbie
Posts: 18
Joined: May 20th, 2019, 5:17 pm

Re: How to ignore movie if year is missing?

Post by firekidop »

thank you so much.
Post Reply