Skip to content

Commit

Permalink
[patch] v4 hotifx 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Jan 8, 2024
1 parent 0b46acd commit a53a817
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1668,7 +1668,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return False
elif db_entry["year"] < datetime.now().year and db_entry["year"] != 0:
Expand All @@ -1678,7 +1678,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
elif (
Expand All @@ -1693,7 +1693,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
elif (
Expand All @@ -1713,7 +1713,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
else:
Expand All @@ -1723,7 +1723,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return False
elif ("digitalRelease" in db_entry or "physicalRelease" in db_entry) and db_entry[
Expand All @@ -1740,7 +1740,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
else:
Expand All @@ -1750,7 +1750,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return False
elif "digitalRelease" in db_entry:
Expand All @@ -1764,7 +1764,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
else:
Expand All @@ -1774,7 +1774,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return False
elif (
Expand All @@ -1789,7 +1789,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
elif "inCinemas" in db_entry and db_entry["minimumAvailability"] == "inCinemas":
Expand All @@ -1800,7 +1800,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
else:
Expand All @@ -1810,7 +1810,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return False
elif "inCinemas" not in db_entry and db_entry["minimumAvailability"] == "inCinemas":
Expand All @@ -1825,7 +1825,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
else:
Expand All @@ -1835,7 +1835,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return False
elif "physicalRelease" in db_entry:
Expand All @@ -1849,7 +1849,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
else:
Expand All @@ -1859,7 +1859,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return False
else:
Expand All @@ -1869,7 +1869,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return False
elif db_entry["minimumAvailability"] == "announced":
Expand All @@ -1879,7 +1879,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return True
else:
Expand All @@ -1889,7 +1889,7 @@ def minimum_availability_check(
db_entry["minimumAvailability"],
db_entry["inCinemas"] if "inCinemas" in db_entry else None,
db_entry["digitalRelease"] if "digitalRelease" in db_entry else None,
db_entry["digitalRelease"] if "physicalRelease" in db_entry else None,
db_entry["physicalRelease"] if "physicalRelease" in db_entry else None,
)
return False

Expand Down

0 comments on commit a53a817

Please sign in to comment.