diff --git a/php/Movie.php b/php/Movie.php index 1c7eb32..8c8ab79 100644 --- a/php/Movie.php +++ b/php/Movie.php @@ -5,6 +5,7 @@ class Movie { public function reindexMovies() { - + // todo search in folder for video files + // todo reindex them and search in TheMovieDatabase for infos --> store them in DB } } \ No newline at end of file diff --git a/php/index.php b/php/index.php index 6ff5068..0a44d4b 100644 --- a/php/index.php +++ b/php/index.php @@ -51,5 +51,4 @@ if (isset($_POST['action'])) { } else { echo('{"data":"error"}'); } -$conn->close(); return;