diff --git a/devine/core/manifests/hls.py b/devine/core/manifests/hls.py
index 8d00568..e99f982 100644
--- a/devine/core/manifests/hls.py
+++ b/devine/core/manifests/hls.py
@@ -412,6 +412,8 @@ class HLS:
                 discon_i += 1
                 range_offset = 0  # TODO: Should this be reset or not?
                 map_data = None
+                if encryption_data:
+                    encryption_data = (i, encryption_data[1], encryption_data[2])
 
             if segment.init_section and (not map_data or segment.init_section != map_data[0]):
                 if segment.init_section.byterange: