Commit b5e28ccc authored by Nico Schallehn's avatar Nico Schallehn

test

parent 891914bb
......@@ -158,9 +158,10 @@ class Media {
$array["Duration"] = $mediainfo->get_video_property("Duration");
*/
$p = xml_parser_create();
$befehl = 'mediainfo --Output=XML "'.$Pfad.$FilenameOrg.'"';
$befehl = 'mediainfo --Output=XML "'.$Pfad.$FilenameOrg.'" > /tmp/'.$FilenameOrg.'.xml';
exec($befehl);
echo $befehl;
$xml = exec($befehl);
$xml = file_get_contents('/tmp/'.$FilenameOrg.'.xml');
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