mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-25 22:10:22 +00:00
fix for #120
This commit is contained in:
parent
f0bd8847f5
commit
671510d877
1 changed files with 1 additions and 1 deletions
|
@ -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}...")
|
||||||
|
|
Loading…
Reference in a new issue