Skip to content

Commit d2e6bd2

Browse files
committed
nfoSceneParser plugin log when NFO was not found
1 parent 344e032 commit d2e6bd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/nfoSceneParser/nfoParser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ def __extract_nfo_actors(self):
154154

155155
def parse(self):
156156
if not self._nfo_file or not os.path.exists(self._nfo_file):
157+
if self._nfo_file:
158+
log.LogDebug(f"The NFO file \"{os.path.split(self._nfo_file)[1]}\" was not found")
157159
return {}
158160
log.LogDebug("Parsing '{}'".format(self._nfo_file))
159161
# Parse NFO xml content

0 commit comments

Comments
 (0)