Commit 0f30bba3 authored by Nico Schallehn's avatar Nico Schallehn

test

parent a93ddbd6
......@@ -346,7 +346,7 @@ class Media {
private function gibMediaInfo($Datei, &$DataArray){
$array["size"] = $this->getfileSize($Datei);
if(!file_exists('/tmp/'.$array["imdbID"].(!$array["3d"]==""?"3d":"").'.xml')){
if(!file_exists('/tmp/'.$array["imdbID"].(isset($array["Season"])?"S".$array["Season"]."E".$array["Episode"]:(!$array["3d"]==""?"3d":"")).'.xml')){
$befehl = 'mediainfo --Output=XML "'.$Datei.'" > /tmp/'.$array["imdbID"].(isset($array["Season"])?"S".$array["Season"]."E".$array["Episode"]:(!$array["3d"]==""?"3d":"")).'.xml';
exec($befehl);
}
......
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