From 499c9d9ed5cee4e2ccf1cbcbf2eff5ae081129f5 Mon Sep 17 00:00:00 2001 From: hibna Date: Sun, 26 Apr 2026 02:03:30 +0300 Subject: [PATCH] Fix youtube presence --- presences/youtube/metadata.json | 5 ++++- presences/youtube/src/presence.ts | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/presences/youtube/metadata.json b/presences/youtube/metadata.json index de5c4c7..b195879 100644 --- a/presences/youtube/metadata.json +++ b/presences/youtube/metadata.json @@ -2,10 +2,13 @@ "id": "youtube", "name": "YouTube", "description": "Shows the video you're watching on YouTube as a Source rich presence.", - "version": "1.0.0", + "version": "1.0.1", "author": "hibna", "match": [ "https://www.youtube.com/*", + "https://youtube.com/*", + "https://m.youtube.com/*", + "https://youtu.be/*", "https://music.youtube.com/*" ], "tickInterval": 1000, diff --git a/presences/youtube/src/presence.ts b/presences/youtube/src/presence.ts index 5cbfc59..4a2a691 100644 --- a/presences/youtube/src/presence.ts +++ b/presences/youtube/src/presence.ts @@ -22,7 +22,13 @@ function readChannel(): string | null { } export default definePresence({ - match: ["https://www.youtube.com/*", "https://music.youtube.com/*"], + match: [ + "https://www.youtube.com/*", + "https://youtube.com/*", + "https://m.youtube.com/*", + "https://youtu.be/*", + "https://music.youtube.com/*", + ], tickInterval: 1000, tick(ctx) { const video = findVideo();