This commit is contained in:
meisnate12 2021-03-17 19:50:18 -04:00
parent f0bd8847f5
commit 671510d877

View file

@ -399,7 +399,7 @@ class PlexAPI:
logger.info("") logger.info("")
match = re.search("[Ss]\\d+[Ee]\\d+", episode_str) match = re.search("[Ss]\\d+[Ee]\\d+", episode_str)
if match: if match:
output = match.group(0)[1:].split("E" if "E" in m.group(0) else "e") output = match.group(0)[1:].split("E" if "E" in match.group(0) else "e")
episode_id = int(output[0]) episode_id = int(output[0])
season_id = int(output[1]) season_id = int(output[1])
logger.info(f"Updating episode S{episode_id}E{season_id} of {m}...") logger.info(f"Updating episode S{episode_id}E{season_id} of {m}...")