Commit 57769321 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 8ef185fb
...@@ -228,7 +228,7 @@ class Media { ...@@ -228,7 +228,7 @@ class Media {
$tmdbKey = "b1ddcc7d16281ce09f692896f882ba9d"; $tmdbKey = "b1ddcc7d16281ce09f692896f882ba9d";
$tmdb = json_decode(file_get_contents("https://api.themoviedb.org/3/find/tt".$Film["imdbID"]."?external_source=imdb_id&api_key=".$tmdbKey."&language=de"), true); $tmdb = json_decode(file_get_contents("https://api.themoviedb.org/3/find/tt".$Film["imdbID"]."?external_source=imdb_id&api_key=".$tmdbKey."&language=de"), true);
var_dump($tmdb);
if(strlen($tmdb["movie_results"]["overview"])>0){ if(strlen($tmdb["movie_results"]["overview"])>0){
echo " done!".PHP_EOL; echo " done!".PHP_EOL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment