diff options
author | RaindropsSys <contact@minteck.org> | 2023-04-27 13:32:25 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-04-27 13:32:25 +0200 |
commit | 59b56c2283c12c8a82144a836faee4f12b15e5c1 (patch) | |
tree | 1d6930b8799f37b2023231d0db253b8a980807d8 /pages/api/plex-thumb.php | |
parent | 633c92eae865e957121e08de634aeee11a8b3992 (diff) | |
download | pluralconnect-59b56c2283c12c8a82144a836faee4f12b15e5c1.tar.gz pluralconnect-59b56c2283c12c8a82144a836faee4f12b15e5c1.tar.bz2 pluralconnect-59b56c2283c12c8a82144a836faee4f12b15e5c1.zip |
Updated 5 files and deleted 2 files (automated)
Diffstat (limited to 'pages/api/plex-thumb.php')
-rw-r--r-- | pages/api/plex-thumb.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pages/api/plex-thumb.php b/pages/api/plex-thumb.php deleted file mode 100644 index 4009871..0000000 --- a/pages/api/plex-thumb.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php - -$app = $GLOBALS["ColdHazeApp"]; - -if (isset($_GET["library"]) && isset($_GET["id"]) && is_numeric($_GET["library"]) && is_numeric($_GET["id"])) { - header("Content-Type: image/jpg"); - die(file_get_contents("https://plex.equestria.dev/library/metadata/" . $_GET["library"] . "/thumb/" . $_GET["id"] . "?X-Plex-Token=" . $app["plex"])); -} else { - header("HTTP/1.1 400 Invalid request"); - die("Invalid request"); -}
\ No newline at end of file |