more edl work

This commit is contained in:
Sundog Jones 2024-09-16 16:41:10 -04:00
parent 0850e8558f
commit aa17ab1309
1 changed files with 3 additions and 0 deletions

View File

@ -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']);