Commit 41b3fe44 authored by Nico Schallehn's avatar Nico Schallehn

test

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