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
// @description enables deezer hifi features lol
// @author uh wot
// @version 1.2
// @version 1.2.1
// @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
@ -256,6 +256,7 @@ worker_output = function(e) {
json.message.result.audio_qualities.wifi_streaming = ['low', 'standard', 'high', 'lossless']
// disables previews
json.message.result.streaming = true
json.message.result.limited = false
//console.log("player token output", json)
postMessage(JSON.stringify(json))