Commit 7654dfc9 authored by Nico Schallehn's avatar Nico Schallehn

test

parent a2da782a
...@@ -116,6 +116,7 @@ class Media { ...@@ -116,6 +116,7 @@ class Media {
//return ; //return ;
} }
private function parseMovie($Pfad, $Filename){ private function parseMovie($Pfad, $Filename){
if(is_file($Pfad.$Filename)){
$array = array(); $array = array();
$FilenameOrg = $Filename; $FilenameOrg = $Filename;
$array["hdd"] = $this->HDDID; $array["hdd"] = $this->HDDID;
...@@ -218,6 +219,7 @@ class Media { ...@@ -218,6 +219,7 @@ class Media {
echo " ".$key." => '".$value."'".PHP_EOL; echo " ".$key." => '".$value."'".PHP_EOL;
} }
} }
}
private function getRunTime($laufzeit){ private function getRunTime($laufzeit){
$string = explode(" ", $laufzeit); $string = explode(" ", $laufzeit);
return ((trim(str_replace("h", "", $string[0]))*3600)+(trim(str_replace("m", "", $string[1])*60))); return ((trim(str_replace("h", "", $string[0]))*3600)+(trim(str_replace("m", "", $string[1])*60)));
......
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