Commit aa700a32 authored by Nico Schallehn's avatar Nico Schallehn

bugfix bei 3d

parent 60794619
...@@ -405,8 +405,8 @@ class Media { ...@@ -405,8 +405,8 @@ class Media {
if(($minimal =="checkmd5") OR ($minimal =="einlesen")){ if(($minimal =="checkmd5") OR ($minimal =="einlesen")){
// werte von MediaInfo holen... // werte von MediaInfo holen...
echo " Hole Daten von mediainfo... "; echo " Hole Daten von mediainfo... ";
if(!file_exists('/tmp/'.$array["imdbID"].$array["3d"].'.xml')){ if(!file_exists('/tmp/'.$array["imdbID"].(!$array["3d"]==""?"3d":"").'.xml')){
$befehl = 'mediainfo --Output=XML "'.$Pfad.$FilenameOrg.'" > /tmp/'.$array["imdbID"].$array["3d"].'.xml'; $befehl = 'mediainfo --Output=XML "'.$Pfad.$FilenameOrg.'" > /tmp/'.$array["imdbID"].(!$array["3d"]==""?"3d":"").'.xml';
exec($befehl); exec($befehl);
} }
$xmlstring = file_get_contents('/tmp/'.$array["imdbID"].(!$array["3d"]==""?"3d":"").'.xml'); //TODO Testen ob 3d Geht.... $xmlstring = file_get_contents('/tmp/'.$array["imdbID"].(!$array["3d"]==""?"3d":"").'.xml'); //TODO Testen ob 3d Geht....
......
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