Fixed url generation issue

This commit is contained in:
RemixDev 2021-06-08 19:35:56 +02:00
parent b855d8d3a0
commit a16b7347c2

View file

@ -7,7 +7,7 @@ function generateStreamPath(sngID, md5, mediaVersion, format){
let urlPart = md5+"¤"+format+"¤"+sngID+"¤"+mediaVersion
let md5val = _md5(urlPart)
let step2 = md5val+"¤"+urlPart+"¤"
step2 += ('.' * (16 - (step2.length % 16)))
step2 += '.'.repeat(16 - (step2.length % 16))
urlPart = _ecbCrypt('jo6aey6haid2Teih', step2)
return urlPart
}