Commit c4de2ebf authored by Nico Schallehn's avatar Nico Schallehn

test

parent 5c262d0e
......@@ -457,9 +457,9 @@ class Media {
if(is_file($Pfad.$Filename)){
echo "Datei: ".$Pfad." > ".$Filename.PHP_EOL;
if(!(strripos( $Pfad,"(") == false)){
$array["imdbID"] = substr($Pfad,strripos( $Pfad,"(")+1,7);
}
if(!(stripos( $Pfad,"(") == false)){
$array["imdbID"] = substr($Pfad,stripos( $Pfad,"(")+1,7);
}else{return false;}
for ($i = 0; $i < strlen($Filename)-3; $i++) {
//
if((strtoupper(substr($Filename,$i,1))=="S") AND (strtoupper(substr($Filename,$i+3,1))=="E")){
......
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