Commit 451b5f7b authored by Nico Schallehn's avatar Nico Schallehn

ersetzungen bei Collection für Ordner Namen

parent c3fe70e2
...@@ -156,7 +156,18 @@ class Media { ...@@ -156,7 +156,18 @@ class Media {
else{ else{
if(isset($array["collection"])){ if(isset($array["collection"])){
echo "Collection Ausgabe in eigenen Collection Ordner: ".$array["collection"].PHP_EOL; echo "Collection Ausgabe in eigenen Collection Ordner: ".$array["collection"].PHP_EOL;
$Pfadnew = $array["collection"].'/'; $array["collection"] = str_replace("Filmreihe", "", $array["collection"]);
$array["collection"] = str_replace(":", "", $array["collection"]);
$array["collection"] = str_replace("Reihe", "", $array["collection"]);
$array["collection"] = str_replace("/", "", $array["collection"]);
$array["collection"] = str_replace("Immer Ärger mit 40", "", $array["collection"]);
$array["collection"] = str_replace("Immer Ärger mit 40", "", $array["collection"]);
$array["collection"] = str_replace("()", "o", $array["collection"]);
$array["collection"] = str_replace("(Animiert)", "", $array["collection"]);
$array["collection"] = str_replace("Collection", "", $array["collection"]);
$Pfadnew = trim($array["collection"]).'/';
} }
else{ else{
$Pfadnew = ''; $Pfadnew = '';
......
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