Commit 41f25b51 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 91b55a26
......@@ -297,6 +297,8 @@ class Media {
$File = $value[2].(strlen($value[0])>0?'/':'').$value[1];
$array = $this->parseEpisode($value[2].(strlen($value[0])>0?'/':''), $value[1],$action);
$array["HDD"] = $this->HDDID;
var_dump($array);
exit;
if(!isset($array["width"]) OR ($array["width"]<1280)){ $Resolution = "SD";}
else if($array["width"]<1920){ $Resolution = "720p";}
else { $Resolution = "1080p";}
......@@ -655,8 +657,7 @@ class Media {
}
echo stripos( $Pfad.$Filename,"(BD)").$array["source"].PHP_EOL;
exit;
if(!(stripos( $Pfad,"(") == false)){
$array["imdbID"] = substr($Pfad,stripos( $Pfad,"(")+1,7);
......
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