don't change episodes to UNKNOWN status when loading data from tvinfo

This commit is contained in:
Prinz23 2023-11-06 20:44:16 +01:00
parent 4a62212e57
commit afd696366a

View file

@ -4542,9 +4542,9 @@ class TVEpisode(TVEpisodeBase):
# shouldn't get here probably
else:
msg = '(2) Status changes from %s to ' % statusStrings[self._status]
self.status = UNKNOWN
logger.debug('%s%s' % (msg, statusStrings[self._status]))
logger.warning(f'Status not changed from {statusStrings[self._status]}'
f' for episode {self._season}x{self._episode} because file "{self._location}"'
f' has no media file extension')
def load_from_nfo(self, location):
"""