Commit 416a2cd2 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 45eafd2d
...@@ -458,8 +458,10 @@ class Media { ...@@ -458,8 +458,10 @@ class Media {
echo "Datei: ".$Pfad." > ".$Filename.PHP_EOL; echo "Datei: ".$Pfad." > ".$Filename.PHP_EOL;
if(!(strripos( $Pfad,"(") == false)){ if(!(strripos( $Pfad,"(") == false)){
$array["imdbID"] = substr($Filename,strripos( $Pfad,"(")+1,7); $array["imdbID"] = substr($Pfad,strripos( $Pfad,"(")+1,7);
} }
$array["Season"] = substr($Pfad,stripos( $Pfad,"S")+1,2);
$array["Episode"] = substr($Pfad,stripos( $Pfad,"E")+1,2);
return $array; return $array;
......
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