Lossless Brand removal

This commit is contained in:
Maikiwi 2022-02-05 10:16:01 -08:00
parent 2f7543177d
commit 789792ebb4
9 changed files with 23 additions and 15 deletions

View file

@ -2350,7 +2350,7 @@ const app = new Vue({
},
async losslessBadge() {
const songID = (this.mk.nowPlayingItem != null) ? this.mk.nowPlayingItem["_songId"] ?? -1 : -1;
if (app.cfg.audio.quality == 2304 && app.cfg.advanced.decryptLLPW && songID != -1) {
if (app.cfg.audio.quality == 2304 && app.cfg.advanced.ciderPPE && songID != -1) {
let extendedAssets = await app.mk.api.song(songID, {extend : 'extendedAssetUrls'})
if (extendedAssets.attributes.audioTraits.includes('lossless')) {
app.mk.nowPlayingItem['attributes']['lossless'] = true