Commit 891914bb authored by Nico Schallehn's avatar Nico Schallehn

test

parent 41b3fe44
...@@ -158,7 +158,9 @@ class Media { ...@@ -158,7 +158,9 @@ class Media {
$array["Duration"] = $mediainfo->get_video_property("Duration"); $array["Duration"] = $mediainfo->get_video_property("Duration");
*/ */
$p = xml_parser_create(); $p = xml_parser_create();
$xml = exec('mediainfo --Output=XML "'.$Pfad.$FilenameOrg.'"'); $befehl = 'mediainfo --Output=XML "'.$Pfad.$FilenameOrg.'"';
echo $befehl;
$xml = exec($befehl);
echo $xml; echo $xml;
xml_parse_into_struct($p, $xml, $vals, $index); xml_parse_into_struct($p, $xml, $vals, $index);
xml_parser_free($p); xml_parser_free($p);
......
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