Commit 0ce497b1 authored by Nico Schallehn's avatar Nico Schallehn

test

parent cf623722
...@@ -194,6 +194,7 @@ class Media { ...@@ -194,6 +194,7 @@ class Media {
break; break;
case "Video": case "Video":
$array["width"] = trim(str_replace(" ", "",str_replace("pixels", "",$value["Width"]))); $array["width"] = trim(str_replace(" ", "",str_replace("pixels", "",$value["Width"])));
//TODO Resolution aus diesen werten neusetzen
$array["height"] = trim(str_replace(" ", "",str_replace("pixels", "",$value["Height"]))); $array["height"] = trim(str_replace(" ", "",str_replace("pixels", "",$value["Height"])));
break; break;
case "Audio": case "Audio":
...@@ -348,6 +349,7 @@ class Media { ...@@ -348,6 +349,7 @@ class Media {
foreach ( $Arr AS $Key => $Value){ foreach ( $Arr AS $Key => $Value){
if(is_dir ($dir.'/'.$Value) AND !in_array($Value, $this->config["FolderIgnor"])){ if(is_dir ($dir.'/'.$Value) AND !in_array($Value, $this->config["FolderIgnor"])){
$SubDir = $this->dirtoArray($dir.'/'.$Value, $root.'/'.$Value); $SubDir = $this->dirtoArray($dir.'/'.$Value, $root.'/'.$Value);
echo $dir.' / '.$Value." ". $root.' / '.$Value;
} }
else{ else{
$this->FolderArray[] = array($root, $Value); $this->FolderArray[] = array($root, $Value);
......
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