Skip to content

series_premiere plugin crashing on season packs #1775

@grr

Description

@grr

This is obviously caused by the new support for season packs:

2017-04-05 22:50 DEBUG    parser_internal tv_premieres   Parsing series: `My.Love.from.Another.Star.S01.The.Beginning.HDTV.AAC2.0.x264-SAM` kwargs: {'identified_by': u'auto', 'name': None, 'allow_seasonless': True}
2017-04-05 22:50 DEBUG    parser_internal tv_premieres   Parsing result: <SeriesParser(data=My.Love.from.Another.Star.S01.The.Beginning.HDTV.AAC2.0.x264-SAM,name=My Love From Another Star,id=S1,season=1,season_pack=True,episode=None,quality=hdtv h264 aac,proper=0,status=OK)> (in 3.017 ms)
2017-04-05 22:50 CRITICAL task          tv_premieres   BUG: Unhandled error in plugin series_premiere: u'series_episode'
2017-04-05 22:50 CRITICAL manager       tv_premieres   An unexpected crash has occurred. Writing crash report to /tmp/.flexget/crash_report.2017.04.05.225036904002.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.10.27
2017-04-05 22:50 DEBUG    manager       tv_premieres   Traceback:
Traceback (most recent call last):
  File "/tmp/flexget/flexget/task.py", line 483, in __run_plugin
    return method(*args, **kwargs)
  File "/tmp/flexget/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/tmp/flexget/flexget/plugins/filter/series_premiere.py", line 64, in on_task_metainfo
    if entry['series_season'] == 1 and entry['series_episode'] in desired_eps:
  File "/tmp/flexget/flexget/utils/lazy_dict.py", line 71, in __getitem__
    item = self.store[key]
KeyError: u'series_episode'

Additional information:

  • Flexget Version: 2.10.27
  • Python Version: 2.7.13
  • Installation method: git
  • OS and version: osx 10.11.6

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions