From b96e8ca4d230574a652e18fe25de5bf3ed1242e4 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 4 Feb 2026 02:37:21 +0000 Subject: [PATCH] Add playlist_url property to GPUHLSOutput Co-Authored-By: Claude Opus 4.5 --- streaming/gpu_output.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/streaming/gpu_output.py b/streaming/gpu_output.py index df43154..06419fc 100644 --- a/streaming/gpu_output.py +++ b/streaming/gpu_output.py @@ -386,3 +386,10 @@ class GPUHLSOutput: @property def playlist_cid(self) -> Optional[str]: return self._playlist_cid + + @property + def playlist_url(self) -> Optional[str]: + """Get the full IPFS URL for the playlist.""" + if self._playlist_cid: + return f"{self.ipfs_gateway}/{self._playlist_cid}" + return None