From d66e198624d4223188b695f3a679d0ae9505584f Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 4 Mar 2020 09:05:10 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 33 +++++++++++++++------------------ scripts/lib/tmdb.php | 2 +- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 519cd5e..199a502 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,11 +3,7 @@ - - - - - + @@ -1217,12 +1214,12 @@ - + - + @@ -1236,12 +1233,12 @@ - + - + diff --git a/scripts/lib/tmdb.php b/scripts/lib/tmdb.php index ea55197..e4950ad 100644 --- a/scripts/lib/tmdb.php +++ b/scripts/lib/tmdb.php @@ -124,7 +124,7 @@ class tvShowLibrary extends mediaLibrary foreach ($it as $f) { /** @var $f SplFileInfo */ if ($f->getFilename() == '.tmbd.id') { - rename($f->getPathname(), str_replace('.tmbd.id', '.tmdb.id', $f->getPathname())); + @rename($f->getPathname(), str_replace('.tmbd.id', '.tmdb.id', $f->getPathname())); continue; } if ($f->isDir() || ($f->getFilename() != '.tmdb.id')) { -- 2.39.5