more edl work
This commit is contained in:
parent
0850e8558f
commit
aa17ab1309
3
edl.php
3
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']);
|
||||
|
Loading…
Reference in New Issue
Block a user