From 9a66f02cc6e5a794c4ebac7fb894501d839b6f0d Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sun, 2 Mar 2025 23:54:15 +1100
Subject: requests: change no players message

---
 app.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'app.tsx')

diff --git a/app.tsx b/app.tsx
index 7d34231..cc5e41b 100644
--- a/app.tsx
+++ b/app.tsx
@@ -70,7 +70,7 @@ App.start({
         else if (request.startsWith("media")) {
             const player = Players.get_default().lastPlayer;
             const key = request.split(" ")[1];
-            if (player === null) return res("No available players");
+            if (player === null) return res("No media");
             if (key in player) return res(player[key as keyof typeof player]);
             return res(`Invalid key: ${key}`);
         } else if (request.startsWith("brightness")) {
-- 
cgit v1.2.3-freya

