more edl work

This commit is contained in:
Sundog Jones 2024-09-16 16:41:10 -04:00
parent 0850e8558f
commit aa17ab1309

View File

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