Commit 8ae56659 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 632397f0
...@@ -160,8 +160,8 @@ class Media { ...@@ -160,8 +160,8 @@ class Media {
$p = xml_parser_create(); $p = xml_parser_create();
$befehl = 'mediainfo --Output=XML "'.$Pfad.$FilenameOrg.'" > /tmp/'.$array["imdbID"].'.xml'; $befehl = 'mediainfo --Output=XML "'.$Pfad.$FilenameOrg.'" > /tmp/'.$array["imdbID"].'.xml';
exec($befehl); exec($befehl);
echo $befehl; //echo $befehl;
$xml = file_get_contents('/tmp/'.$FilenameOrg.'.xml'); $xml = file_get_contents('/tmp/'.$array["imdbID"].'.xml');
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