pub / yt2html

Fetches Youtube content via RSS and provides a chronological timeline
git clone https://src.jayvii.de/pub/yt2html.git
Home | Log | Files | Exports | Refs | README | RSS

commit e134ecf4a96d5bdbbd6df6a81e1e407e4b178849
parent a8b2b023fce0ec7e789f838579523c92fc60beba
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Mon, 21 Oct 2024 23:17:59 +0200

fix: ensure channels are unique

Diffstat:
Mindex.php | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/index.php b/index.php @@ -59,6 +59,9 @@ $channels = explode(",", $_GET["channels"]); } + // Sort channels by alphabet and ensure each stream is unique + $channels = array_unique($channels); + /* refresh cookie */ if (is_null($_GET["channels"])) { header(