diff --git a/services/CBC/__init__.py b/services/CBC/__init__.py index bef4a6a..52f7ccc 100644 --- a/services/CBC/__init__.py +++ b/services/CBC/__init__.py @@ -203,7 +203,7 @@ class CBC(Service): chapters = [] if extra.get("chapters"): - chapters = [Chapter(timestamp=x) for x in extra["chapters"].split(",")] + chapters = [Chapter(timestamp=x) for x in set(extra["chapters"].split(","))] if extra.get("credits"): chapters.append(Chapter(name="Credits", timestamp=float(extra["credits"])))