From b55da08d49fd7b720f734a4f77c57bdc0482519d Mon Sep 17 00:00:00 2001 From: VlastikYoutubeKo <56507931+VlastikYoutubeKo@users.noreply.github.com> Date: Fri, 15 Aug 2025 17:07:06 +0200 Subject: [PATCH] Update index.html --- index.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 2f55238..f09adfd 100644 --- a/index.html +++ b/index.html @@ -210,10 +210,17 @@ setIsOpen(forceOpen); }, [forceOpen]); - const createReportURL = (channelName) => { + const createReportURL = (channel) => { const repoUrl = "https://github.com/theariatv/theariatv.github.io/issues/new"; - const title = `Broken Stream: ${channelName}`; - const body = `**Channel Name:** ${channelName}\n\n**Problem:** (Please describe the issue, e.g., 'Stream does not load', 'Shows a black screen', 'Wrong content', etc.)`; + const title = `Broken Stream: ${channel.name}`; + const sourceFile = channel.stable ? 'aria.m3u' : 'aria+.m3u'; + const body = ` +**Channel Name:** ${channel.name} +**Stream URL:** \`${channel.url}\` +**Source Playlist:** ${sourceFile} + +**Problem:** (Please describe the issue, e.g., 'Stream does not load', 'Shows a black screen', 'Wrong content', etc.) + `; return `${repoUrl}?title=${encodeURIComponent(title)}&body=${encodeURIComponent(body)}`; }; @@ -247,7 +254,7 @@ Link