#SpotiMbed (Better Spotify Embeds)
1 messages · Page 1 of 1 (latest)
holy shit spotimbed update
asd
please fix
the problem only occurs when the plugin is disabled
Why would I care about a bug that happens in the plugin settings when the plugin is disabled
idk
The fix is to enable the plugin you installed

From 9ed79859424350ce191d26b748711dc648399633 Mon Sep 17 00:00:00 2001
From: sadan <117494111+sadan4@users.noreply.github.com>
Date: Fri, 15 Aug 2025 16:02:21 -0400
Subject: [PATCH] fix settings
---
index.tsx | 29 +++++++++++++++++++++++++----
1 file changed, 25 insertions(+), 4 deletions(-)
diff --git a/index.tsx b/index.tsx
index d0176e7..2c3e99d 100644
--- a/index.tsx
+++ b/index.tsx
@@ -10,12 +10,18 @@ import ErrorBoundary from "@components/ErrorBoundary";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import type { Embed, Message } from "@vencord/discord-types";
+import { Text } from "@webpack/common";
import { createSpotimbed, Spotimbed, SpotimbedProps } from "./components/Embed";
import { settings } from "./settings";
import { ResourceType } from "./types";
import { createEmbedData, getEmbeddableLinks } from "./utils/ast";
+// Use a variable instead of Vencord.Settings.plugins.name.enabled
+// because that will get toggled before the user reloads vencord
+// but the start function is only run when the plugin is loaded
+let enabled = false;
+
export default definePlugin({
name: "SpotiMbed",
description: "Makes Spotify embeds reliable and actually useable",
@@ -60,10 +66,25 @@ export default definePlugin({
],
settings,
- settingsAboutComponent: ({ tempSettings }: { tempSettings?: SpotimbedProps["tempSettings"]; }) => <ErrorBoundary>
- <Spotimbed type={ResourceType.Track} id="6a4z5B7vOzTLYTnokxuDXo" tempSettings={tempSettings} />
- <Spotimbed type={ResourceType.Album} id="6MbBpKe8dZYYqOq0AxpQps" tempSettings={tempSettings} />
- </ErrorBoundary>,
+ start() {
+ enabled = true;
+ },
+
+ settingsAboutComponent: ErrorBoundary.wrap(({ tempSettings }: { tempSettings?: SpotimbedProps["tempSettings"]; }) => {
+ if (!enabled) {
+ return (
+ <Text variant="text-md/normal">
+ To see a preview please enable the plugin and reload vencord.
+ </Text>
+ );
+ }
+ return (
+ <>
+ <Spotimbed type={ResourceType.Track} id="6a4z5B7vOzTLYTnokxuDXo" tempSettings={tempSettings} />
+ <Spotimbed type={ResourceType.Album} id="6MbBpKe8dZYYqOq0AxpQps" tempSettings={tempSettings} />
+ </>
+ );
+ }),
// exports
createSpotimbed,
--
2.50.1
@rugged gulch
are you on web browser?
vesktop
oh wait yea that origin isnt on it
i didnt see that origin when testing
i'll fix and add the thing above while im at it in a sec
I love this
that ragebaited me enough to get me out of bed yesterday so it was helpful in some way
reminder 
ty my b
where do u get a image-cdn-fa.spotifycdn.com url from @compact seal
i could use Vencord.Plugins.plugins.SpotiMbed.started right?
ahh playlist
wait this is a prolem
Is that a thing?
Til
@rugged gulch jumpscare on discord dark mode
(happens without my theme as well)
guh
what palette
wait it looks like a csp issue?
color style*
ah
ah yea i fixed this i in update
oh i was wondering what ak and fa are and how many cdn urls there were
i think its prob akamai and fastly
have u rebuilt and closed and reopened
yeah, twice
weird cus if u look in ur native.ts
oh wait
it has those domains doesnt it
let me check smth
@rugged gulch i gave everything img-src and no longer get CSP errors, but it's still pure white
onyx
prob pastel since its defualt
this is what i get on pastel
yeah, its better now
it looks like ur text contrast iss working now tho
(i disabled my theme for testing)
what client are u on cus i dont get csp errors
vesktop
From a2d81183234844527c7629fd3f731fed2a93ba5d Mon Sep 17 00:00:00 2001
From: sadan <117494111+sadan4@users.noreply.github.com>
Date: Mon, 18 Aug 2025 00:18:50 -0400
Subject: [PATCH] fix csp
---
native.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/native.ts b/native.ts
index 163e2ec..69c92a7 100644
--- a/native.ts
+++ b/native.ts
@@ -7,7 +7,7 @@
import { CspPolicies } from "@main/csp";
CspPolicies["p.scdn.co"] = ["media-src"];
-CspPolicies["i.scdn.co"] = ["connect-src"];
-CspPolicies["mosaic.scdn.co"] = ["connect-src"];
-CspPolicies["image-cdn-fa.spotifycdn.com"] = ["connect-src"];
-CspPolicies["image-cdn-ak.spotifycdn.com"] = ["connect-src"];
+CspPolicies["i.scdn.co"] = ["connect-src", "img-src"];
+CspPolicies["mosaic.scdn.co"] = ["connect-src", "img-src"];
+CspPolicies["image-cdn-fa.spotifycdn.com"] = ["connect-src", "img-src"];
+CspPolicies["image-cdn-ak.spotifycdn.com"] = ["connect-src", "img-src"];
--
2.50.1
ok pushed
it was a PR but i think vee never merge cus its so big
its kinda like a large maintenance overhead
if i decide not to work on it / update / fix it it'll be their job to
@rugged gulch
whyt dont i have this on vesktop
imma kills omeone
it looks like it might conflict with HideMedia
(build with --dev --reporter)
i'm not sure how finds order with replacements, but this is probably the reason
ah ok
makes sense
pushed, changed the patch find
finding by the method property that im actually patching since that cant rly be wrapped
did i get ghost pinged here
prob not
might have accidentally alt clicked
also @compact seal i forgot to push those new domains but i just pushed them
consider making the album text selectable
@rugged gulch
is it broken?
update: yeah seems like it is
From 1ccedd5124da99884b68ec1b5a71e7797fe4230a Mon Sep 17 00:00:00 2001
From: sadan <117494111+sadan4@users.noreply.github.com>
Date: Wed, 4 Feb 2026 18:32:52 -0500
Subject: [PATCH] fix finds
---
index.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.tsx b/index.tsx
index 0248a6b..268350c 100644
--- a/index.tsx
+++ b/index.tsx
@@ -23,7 +23,7 @@ export default definePlugin({
authors: [Devs.Vap],
patches: [
{
- find: "}renderEmbeds(",
+ find: ";renderEmbeds(",
replacement: {
// .renderEmbeds = function(message) { ... }
match: /\brenderEmbeds\((\i)\)\{/,
@@ -32,7 +32,7 @@ export default definePlugin({
}
},
{
- find: ".embedSpotify",
+ find: '!["track","playlist",',
replacement: {
// "Spotify" === embed.provider.name ? <DiscordEmbed embed={embed} /> : ...
match: /let\{className:[^;]{0,50}embed:[^;]{0,50}=(\i);/,
--
2.52.0
@rugged gulch
wait i forgot
did u update
Still no
I think did this morning
Thanks will check later
still broken ill fix
Listen it worked
doesn't vencord re-export the scrollers
I'm unsure
(It does)
@rugged gulch everything exploded with new bundler changes
lmk if you plan on mantaining this/want help with fixing things
gay
will def want help i am lowk timeless these days
????
alr
ill fix and send aptches
?remind 14hr fix
Alright @desert vine, in 14 hours: fix