PlexEmail - Email Recently Added Media

@eadwyn said:

@harroguk said:
Any help someone can give with the below would be much apreciated.

Hmm, that looks like default config and code, so I’m not sure what is happening. Only thing I can think of is that there is a show without seasons? But that doesn’t make sense, since I’m pretty sure all TV episodes in Plex have to belong to a season. I’ve been super slammed with work the past couple weeks and still am. I’ll try to give you some debug code when things slow down for me.

Tried running it again today and we have a different error message (well, same error, different line numbers)…

C:\InstalledPrograms\PlexEmail\scripts>python plexEmail.py
Traceback (most recent call last):
File “plexEmail.py”, line 1087, in
tvSeasons = OrderedDict(sorted(tvSeasons.iteritems(), key=lambda t: t[1][config[‘season_sort_2’]], reverse=config[‘season_sort_2_reverse’]))
File “plexEmail.py”, line 1087, in
tvSeasons = OrderedDict(sorted(tvSeasons.iteritems(), key=lambda t: t[1][config[‘season_sort_2’]], reverse=config[‘season_sort_2_reverse’]))
KeyError: ‘Index’