From bb576c6f5c393ecfd0b4d371656b538f7048da23 Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Thu, 18 Dec 2025 16:34:15 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Parse=20movie.nfo=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Data/DataPipes/GetSeasonEp.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Data/DataPipes/GetSeasonEp.php b/app/Data/DataPipes/GetSeasonEp.php index e62dd3f..87c0e44 100644 --- a/app/Data/DataPipes/GetSeasonEp.php +++ b/app/Data/DataPipes/GetSeasonEp.php @@ -24,6 +24,7 @@ class GetSeasonEp implements DataPipe $pi = pathinfo($path); $nfo = "{$pi['dirname']}/{$pi['filename']}.nfo"; + $movieNfo = "{$pi['dirname']}/movie.nfo"; if (file_exists($nfo)) { $properties['epNfo'] = $nfo; $xml = simplexml_load_file($nfo); @@ -34,6 +35,10 @@ class GetSeasonEp implements DataPipe } else if ($type === 'movie') { return $this->getFilmFromNfo($properties, $xml); } + } else if (file_exists($movieNfo)) { + $properties['epNfo'] = $movieNfo; + $xml = simplexml_load_file($movieNfo); + return $this->getFilmFromNfo($properties, $xml); } return $this->getEpFromFfprobe($properties);