Lossless Brand removal
This commit is contained in:
parent
2f7543177d
commit
789792ebb4
9 changed files with 23 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue