diff options
Diffstat (limited to 'audio.php')
-rw-r--r-- | audio.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/audio.php b/audio.php deleted file mode 100644 index fac4d7f..0000000 --- a/audio.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -if(!isset($_GET["s"])){ - - http_response_code(404); - header("X-Error: No SOUND(s) provided!"); - die(); -} - -include "data/config.php"; -include "lib/curlproxy.php"; -$proxy = new proxy(); - -try{ - - $proxy->stream_linear_audio($_GET["s"]); -}catch(Exception $error){ - - header("X-Error: " . $error->getMessage()); -} |