Commit fbcbb811 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 9cd61ff7
...@@ -172,7 +172,7 @@ class Media { ...@@ -172,7 +172,7 @@ class Media {
//echo $json; //echo $json;
$array2 = json_decode($json,TRUE); $array2 = json_decode($json,TRUE);
foreach ($array2["File"]["track"] as $key => $value) { foreach ($array2["File"]["track"] as $key => $value) {
//echo " ".$key." ".$value["@attributes"]["type"].PHP_EOL; echo " ".$key." ".$value["@attributes"]["type"].PHP_EOL;
switch ($key) { switch ($key) {
case "General": case "General":
$array["vcodec"] = str_replace("Matroska", "mkv", $value["Format"]); $array["vcodec"] = str_replace("Matroska", "mkv", $value["Format"]);
......
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