fixed preview disabling

This commit is contained in:
uh wot 2021-07-16 20:55:10 +02:00
parent 96ccb5c218
commit 299ada2922
Signed by: uhwot
GPG Key ID: CB2454984587B781
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
// @namespace io.github.uhwot.dzunlock // @namespace io.github.uhwot.dzunlock
// @description enables deezer hifi features lol // @description enables deezer hifi features lol
// @author uh wot // @author uh wot
// @version 1.2 // @version 1.2.1
// @license GPL-3.0-only // @license GPL-3.0-only
// @homepageURL https://git.freezer.life/uhwot/dzunlock // @homepageURL https://git.freezer.life/uhwot/dzunlock
// @downloadURL https://git.freezer.life/uhwot/dzunlock/raw/branch/master/dzunlock.user.js // @downloadURL https://git.freezer.life/uhwot/dzunlock/raw/branch/master/dzunlock.user.js
@ -256,6 +256,7 @@ worker_output = function(e) {
json.message.result.audio_qualities.wifi_streaming = ['low', 'standard', 'high', 'lossless'] json.message.result.audio_qualities.wifi_streaming = ['low', 'standard', 'high', 'lossless']
// disables previews // disables previews
json.message.result.streaming = true json.message.result.streaming = true
json.message.result.limited = false
//console.log("player token output", json) //console.log("player token output", json)
postMessage(JSON.stringify(json)) postMessage(JSON.stringify(json))