Commit b97bdf81 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 7c081c1e
......@@ -354,6 +354,7 @@ class Media {
$xml = simplexml_load_string($xmlstring);
$json = json_encode($xml,JSON_PRETTY_PRINT);
$array2 = json_decode($json,TRUE);
if(isset($array2["File"]["track"])){
foreach ($array2["File"]["track"] as $key => $value) {
//echo " ".$key." ".$value["@attributes"]["type"].PHP_EOL;
switch ($value["@attributes"]["type"]) {
......@@ -399,6 +400,7 @@ class Media {
break;
}
}
}
}
/**
......
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