pull/165/head
meisnate12 4 years ago
parent b843ef2a97
commit 1be819a3b9

@ -294,7 +294,7 @@ class CollectionBuilder:
run_time = str(schedule).lower() run_time = str(schedule).lower()
if run_time.startswith("day") or run_time.startswith("daily"): if run_time.startswith("day") or run_time.startswith("daily"):
skip_collection = False skip_collection = False
if run_time.startswith("week") or run_time.startswith("month") or run_time.startswith("year"): elif run_time.startswith("week") or run_time.startswith("month") or run_time.startswith("year"):
match = re.search("\\(([^)]+)\\)", run_time) match = re.search("\\(([^)]+)\\)", run_time)
if match: if match:
param = match.group(1) param = match.group(1)
@ -939,8 +939,10 @@ class CollectionBuilder:
if len(movie_ids) > 0: if len(movie_ids) > 0:
items_found_inside += len(movie_ids) items_found_inside += len(movie_ids)
for movie_id in movie_ids: for movie_id in movie_ids:
if movie_id in movie_map: items.append(movie_map[movie_id]) if movie_id in movie_map:
else: missing_movies.append(movie_id) items.append(movie_map[movie_id])
else:
missing_movies.append(movie_id)
if len(show_ids) > 0: if len(show_ids) > 0:
items_found_inside += len(show_ids) items_found_inside += len(show_ids)
for show_id in show_ids: for show_id in show_ids:

Loading…
Cancel
Save