Commit 89c1c746 authored by Nico Schallehn's avatar Nico Schallehn

bugfix

parent c0ff1315
...@@ -105,7 +105,7 @@ if($_GET["action"] == "filme"){ ...@@ -105,7 +105,7 @@ if($_GET["action"] == "filme"){
$countermd5 = 0; $countermd5 = 0;
$countereql = 0; $countereql = 0;
foreach ($MovieArray["Antwort"]["Data"] as $key => $value) { foreach ($MovieArray["Antwort"]["Data"] as $key => $value) {
$MovieArray = $API->API_GetDataList(array("Tabelle"=>"Filme", "Spalten"=>"imdbID,name,md5,size","imdbID"=>$value["imdbID"])); $MovieArray = $API->API_GetDataList(array("Tabelle"=>"Filme", "Spalten"=>"imdbID,name,md5,size,resolution","imdbID"=>$value["imdbID"]));
//$fanart = jsonCacheDecoder("http://webservice.fanart.tv/v3/movies/tt".$value["imdbID"]."?api_key=".Fanart_Key); //$fanart = jsonCacheDecoder("http://webservice.fanart.tv/v3/movies/tt".$value["imdbID"]."?api_key=".Fanart_Key);
// if(isset($fanart["movieposter"][0]["url"])) { // if(isset($fanart["movieposter"][0]["url"])) {
if(!isset($MovieArray["Data"][0]["imdbID"])){ if(!isset($MovieArray["Data"][0]["imdbID"])){
......
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