Commit 884f9ad1 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 3c9e0697
...@@ -1145,6 +1145,8 @@ class Media { ...@@ -1145,6 +1145,8 @@ class Media {
$laufzeit = str_replace("s", "", $laufzeit); $laufzeit = str_replace("s", "", $laufzeit);
$string = explode(" ", $laufzeit); $string = explode(" ", $laufzeit);
echo $laufzeit.PHP_EOL;
return ((trim(str_replace("h", "", $string[0]))*3600)+(trim(str_replace("m", "", $string[1])*60))); //TODO sekunden hinzufügen return ((trim(str_replace("h", "", $string[0]))*3600)+(trim(str_replace("m", "", $string[1])*60))); //TODO sekunden hinzufügen
} }
private function getfileSize($file){ private function getfileSize($file){
......
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