Skip to content

plex_exporter_importer.py: Season "2020" of daily show breaks script #185

@shaddowlink

Description

@shaddowlink

Hey,

Running the importer with verbose flag I could trace an error I get.
It stops and throws error on a daily show that has the year as Season number
(not related to my other issue)
tried to import watch status

 ZDF Magazin Royale
                S2020E1 - Die ganz große Verschwörung!
                S2020E2 - Volkswagen - Das Weltauto!
                S2020E3 - Online-Glücksspiele in Schleswig-Holstein
                S2020E4 - Eier aus Stahl: Jan Marsalek
                S2020E5 - Rassismus in der Polizei
Shutting down...
Progress saved
AN ERROR OCCURED. ALL YOUR PROGRESS IS SAVED. PLEASE SHARE THE FOLLOWING WITH THE DEVELOPER:
Traceback (most recent call last):
  File "/opt/scripts/./plex_exporter_importer.py", line 1426, in <module>
    response = plex_exporter_importer(
  File "/opt/scripts/./plex_exporter_importer.py", line 1359, in plex_exporter_importer
    _leave(**exit_args, e=e)
  File "/opt/scripts/./plex_exporter_importer.py", line 442, in _leave
    raise e
  File "/opt/scripts/./plex_exporter_importer.py", line 1275, in plex_exporter_importer
    if verbose == True: print(f'                S{episode["parentIndex"]}E{episode["index"]} - {episode["title"]}')
KeyError: 'index'

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. Bug requestRequest for bug to be fixed2. Level: MediumThe request is of normal difficulty3. Request acceptedRequest is accepted and will be realised

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions