more edl work

This commit is contained in:
Sundog Jones 2024-09-16 16:51:10 -04:00
parent bfb1796c3b
commit 2b3e4f9290

View File

@ -5,8 +5,6 @@ $db = new SQLite3('netv-mam.sqlite');
// add edl to media item
$jsonBody = file_get_contents("php://input");
$_REQUEST = json_decode($jsonBody, true);
error_log(print_r($_REQUEST, true));
exit();
if (isset($_REQUEST['media_id']) && $_REQUEST['media_id'] !== "") {
error_log(print_r($_REQUEST, true));
@ -42,6 +40,7 @@ if (isset($_REQUEST['media_id']) && $_REQUEST['media_id'] !== "") {
}
}
} else {
error_log("EDL: no media_id found!");
error_log(print_r($_REQUEST, true));
}