more edl work
This commit is contained in:
parent
bfb1796c3b
commit
2b3e4f9290
3
edl.php
3
edl.php
|
@ -5,8 +5,6 @@ $db = new SQLite3('netv-mam.sqlite');
|
||||||
// add edl to media item
|
// add edl to media item
|
||||||
$jsonBody = file_get_contents("php://input");
|
$jsonBody = file_get_contents("php://input");
|
||||||
$_REQUEST = json_decode($jsonBody, true);
|
$_REQUEST = json_decode($jsonBody, true);
|
||||||
error_log(print_r($_REQUEST, true));
|
|
||||||
exit();
|
|
||||||
|
|
||||||
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));
|
||||||
|
@ -42,6 +40,7 @@ if (isset($_REQUEST['media_id']) && $_REQUEST['media_id'] !== "") {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
error_log("EDL: no media_id found!");
|
||||||
error_log(print_r($_REQUEST, true));
|
error_log(print_r($_REQUEST, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue