diff --git a/services/ROKU/__init__.py b/services/ROKU/__init__.py index 96c59df..8efcc43 100644 --- a/services/ROKU/__init__.py +++ b/services/ROKU/__init__.py @@ -206,7 +206,7 @@ class ROKU(Service): chapters = [] if track.data.get("playbackMedia", {}).get("adBreaks"): timestamps = sorted(track.data["playbackMedia"]["adBreaks"]) - chapters = [Chapter(name=f"Chapter {i + 1:02}", timestamp=ad) for i, ad in enumerate(timestamps)] + chapters = [Chapter(name=f"Chapter {i + 1:02}", timestamp=ad.split(".")[0]) for i, ad in enumerate(timestamps)] if track.data.get("playbackMedia", {}).get("creditCuePoints"): chapters.append(