Don't show coming soon when no dvd release is set
This commit is contained in:
1 parent
58c446de2d
commit
6f42b4c316
1 file changed
+2
-2
@@ -93,8 +93,8 @@ class Dashboard(Plugin):
|
|||||||
})
|
})
|
||||||
|
|
||||||
# Don't list older movies
|
# Don't list older movies
|
||||||
if ((not late and (not eta.get('dvd') or (eta.get('dvd') and eta.get('dvd') > (now - 2419200)))) or \
|
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') and eta.get('dvd') < (now - 2419200))):
|
(late and (eta.get('dvd', 0) > 0 or eta.get('theater')) and eta.get('dvd') < (now - 2419200))):
|
||||||
movies.append(temp)
|
movies.append(temp)
|
||||||
|
|
||||||
if len(movies) >= limit:
|
if len(movies) >= limit:
|
||||||
|
|||||||
Reference in new issue
Block a user