diff --git a/edl.php b/edl.php index 6a2a8b9..7178abc 100755 --- a/edl.php +++ b/edl.php @@ -3,6 +3,9 @@ $db = new SQLite3('netv-mam.sqlite'); // add edl to media item +$jsonBody = file_get_contents("php://input"); +$_REQUEST = json_decode($jsonBody, true); + if (isset($_REQUEST['media_id']) && $_REQUEST['media_id'] !== "") { error_log(print_r($_REQUEST, true)); $id = intval($_REQUEST['media_id']);