Merge pull request #3 from meowarex/dev

Removed Success Message
This commit is contained in:
Meow Meow
2025-06-01 00:26:29 +10:00
committed by GitHub
+1 -1
View File
@@ -168,7 +168,7 @@ const onTrackChanged = function (method: number = 0): void {
// Only update if the image source has actually changed // Only update if the image source has actually changed
if (albumImageSrc && albumImageSrc !== currentTrackSrc) { if (albumImageSrc && albumImageSrc !== currentTrackSrc) {
currentTrackSrc = albumImageSrc; currentTrackSrc = albumImageSrc;
trace.msg.log(`Track changed, updating background: ${albumImageSrc}`); //trace.msg.log(`Track changed, updating background: ${albumImageSrc}`);
// Setting background to the *="nowPlayingContainer" element // Setting background to the *="nowPlayingContainer" element
const nowPlayingContainerElement = document.querySelector('[class*="_nowPlayingContainer"]') as HTMLElement; const nowPlayingContainerElement = document.querySelector('[class*="_nowPlayingContainer"]') as HTMLElement;