From 7ca478fe05282e05e2de2dfa54a7a7b27e300304 Mon Sep 17 00:00:00 2001 From: uh wot Date: Fri, 16 Jul 2021 22:20:30 +0200 Subject: [PATCH] fixed streaming while unlogged --- dzunlock.user.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dzunlock.user.js b/dzunlock.user.js index c6c2de2..c632f23 100644 --- a/dzunlock.user.js +++ b/dzunlock.user.js @@ -3,7 +3,7 @@ // @namespace io.github.uhwot.dzunlock // @description enables deezer hifi features lol // @author uh wot -// @version 1.2.1 +// @version 1.2.2 // @license GPL-3.0-only // @homepageURL https://git.freezer.life/uhwot/dzunlock // @downloadURL https://git.freezer.life/uhwot/dzunlock/raw/branch/master/dzunlock.user.js @@ -158,6 +158,8 @@ window.addEventListener('DOMContentLoaded', (_) => { for (let j = 0; j < formats.length; j++) { data.data[i]['FILESIZE_' + formats[j].gw] = json.batch_result[i - userUppedSoFar]['filesize_' + formats[j].api] } + // for streaming while unlogged + data.data[i].MD5_ORIGIN = json.batch_result[i - userUppedSoFar].md5_origin } log(data)