From 245300d06443bb714d5db5ed0e8501c50238b550 Mon Sep 17 00:00:00 2001 From: Josh Cooley Date: Sat, 14 Oct 2023 00:03:35 -0500 Subject: [PATCH] Fix segment UUID concatenation --- iSponsorBlockTV/api_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iSponsorBlockTV/api_helpers.py b/iSponsorBlockTV/api_helpers.py index 2afc20c..c6f5dd2 100644 --- a/iSponsorBlockTV/api_helpers.py +++ b/iSponsorBlockTV/api_helpers.py @@ -138,7 +138,7 @@ async def get_segments(self, vid_id): segment_dict["start"] - segment_before_end < 1 ): # Less than 1 second appart, combine them and skip them together segment_dict["start"] = segment_before_start - segment_dict["UUID"].append(segment_before_UUID) + segment_dict["UUID"].extend(segment_before_UUID) segments.pop() segments.append(segment_dict) except Exception: