From d625f1791b2e2e97d86f7fc3ebf3073c0c323a9b Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sun, 2 Mar 2025 17:40:36 +1100
Subject: app: media data requests

Allow querying media player data
---
 src/modules/popdowns/media.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/modules/popdowns/media.tsx')

diff --git a/src/modules/popdowns/media.tsx b/src/modules/popdowns/media.tsx
index 3f2fca1..dc2b67e 100644
--- a/src/modules/popdowns/media.tsx
+++ b/src/modules/popdowns/media.tsx
@@ -24,7 +24,7 @@ const lengthStr = (length: number) =>
 
 const Player = ({ player }: { player: AstalMpris.Player }) => {
     const background = (
-        <box className="background" css={bind(player, "artUrl").as(u => u && `background-image: url("${u}");`)} />
+        <box className="background" css={bind(player, "coverArt").as(u => u && `background-image: url("${u}");`)} />
     );
     return (
         <overlay
-- 
cgit v1.2.3-freya

