Yeah, I totally forgot to commit this fix for HLS-27 :(
Yeah, I totally forgot to commit this fix for HLS-27 :(

Adjusts the path passed into {{appendVariantPlaylistentry}} so that it doesn't include the resolution (as the manifest filenames currently don't)

--- a/HLS-Stream-Creator.sh
+++ b/HLS-Stream-Creator.sh
@@ -425,7 +425,13 @@
       createVariantPlaylist "$OUTPUT_DIRECTORY/${PLAYLIST_PREFIX}_master.m3u8"
       for br in $OP_BITRATES
       do
-	    appendVariantPlaylistentry "$OUTPUT_DIRECTORY/${PLAYLIST_PREFIX}_master.m3u8" "${SEGMENT_DIRECTORY}${PLAYLIST_PREFIX}_${br}.m3u8" "$br"
+            bw=$br
+            if [[ "$br" == *"-"* ]]
+            then
+                bw=$(echo "$br" | cut -d- -f1) 
+            fi
+      
+	    appendVariantPlaylistentry "$OUTPUT_DIRECTORY/${PLAYLIST_PREFIX}_master.m3u8" "${SEGMENT_DIRECTORY}${PLAYLIST_PREFIX}_${bw}.m3u8" "$br"
       done
 
       OUTPUT_DIRECTORY+=$SEGMENT_DIRECTORY