From 6f42b4c316acf9b986cf7be1c87776db9ff93adb Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 30 Jun 2013 15:21:06 +0200 Subject: [PATCH] Don't show coming soon when no dvd release is set --- couchpotato/core/plugins/dashboard/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/dashboard/main.py b/couchpotato/core/plugins/dashboard/main.py index 41d3551..df21fef 100644 --- a/couchpotato/core/plugins/dashboard/main.py +++ b/couchpotato/core/plugins/dashboard/main.py @@ -93,8 +93,8 @@ class Dashboard(Plugin): }) # Don't list older movies - if ((not late and (not eta.get('dvd') or (eta.get('dvd') and eta.get('dvd') > (now - 2419200)))) or \ - (late and eta.get('dvd') and eta.get('dvd') < (now - 2419200))): + if ((not late and ((not eta.get('dvd') and not eta.get('theater')) or (eta.get('dvd') and eta.get('dvd') > (now - 2419200)))) or \ + (late and (eta.get('dvd', 0) > 0 or eta.get('theater')) and eta.get('dvd') < (now - 2419200))): movies.append(temp) if len(movies) >= limit: