Browse Source

Don't show coming soon when no dvd release is set

pull/1921/head
Ruud 12 years ago
parent
commit
6f42b4c316
  1. 4
      couchpotato/core/plugins/dashboard/main.py

4
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:

Loading…
Cancel
Save