mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-28 02:16:08 +00:00
Fixed url generation issue
This commit is contained in:
parent
b855d8d3a0
commit
a16b7347c2
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue