SpotifyControls: fix no artists on local files (#2543)

Co-authored-by: vee <vendicated@riseup.net>
This commit is contained in:
notsu 2024-06-06 07:17:47 +05:00 committed by GitHub
parent 67b709a796
commit 9cafe8084c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,6 +77,13 @@ export default definePlugin({
match: /repeat:"off"!==(.{1,3}),/,
replace: "actual_repeat:$1,$&"
}
},
{
find: "artists.filter",
replacement: {
match: /\(0,(\i)\.isNotNullish\)\((\i)\.id\)&&/,
replace: ""
}
}
],