From 1b6b994b8b8aa69068ee050f5ca28287a320fb38 Mon Sep 17 00:00:00 2001 From: uh wot Date: Tue, 13 Jul 2021 11:12:08 +0200 Subject: [PATCH] fixed hifi check --- dzunlock.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dzunlock.user.js b/dzunlock.user.js index 9df3364..2fd566c 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.1 +// @version 1.1.1 // @homepageURL https://git.freezer.life/uhwot/dzunlock // @downloadURL https://git.freezer.life/uhwot/dzunlock/raw/branch/master/dzunlock.user.js // @icon https://cdns-files.dzcdn.net/cache/images/common/favicon/favicon-96x96.852baf648e79894b668670e115e4a375.png @@ -141,7 +141,7 @@ async function renewAccessToken() { unsafeWindow.dzPlayer.setTrackList = (function (old) { return async function (...args) { // don't get filesizes if account is hifi - if (unsafeWindow.dzPlayer.user_status.audio_qualities.wifi_download.includes('lossless')) { + if (unsafeWindow.dzPlayer.user_status.lossless) { return old(...args) }