Skip to content

identified_by parameter not passed properly to guessit from config #2090

@b0rek

Description

@b0rek

Expected behaviour:

identified_by: ep should be passed to guessit plugin so guessit detect season and episode in files like f.e.
seal.team.0114.hdtv-lol

options: {'identified_by': u'ep'...
Guessed: id=(1, 14),season=1,season_pack=False,episode=14,

DEBUG    parser_guessit sort_series_rarbg Parsing series: `seal.team.114.hdtv-lol` [options: {'identified_by': u'ep', 'name': None, 'allow_seasonless': False}]
DEBUG    parser_guessit sort_series_rarbg Parsing result: <SeriesParseResult(data=seal.team.114.hdtv-lol,name=seal team,id=(1, 14),season=1,season_pack=False,episode=14,quality=hdtv,proper=0,special=False,status=OK)>

Actual behaviour:

regardless of config setting guessit parser starts with identified_by: auto and treats whole number as episode number.

options: {'identified_by': u'auto'...
Guessed: id=114,season=0,season_pack=False,episode=114

DEBUG    parser_guessit sort_series_rarbg Parsing series: `seal.team.114.hdtv-lol` [options: {'identified_by': u'auto', 'name': None, 'allow_seasonless': False}]
DEBUG    parser_guessit sort_series_rarbg Parsing result: <SeriesParseResult(data=seal.team.0114.hdtv-lol,name=seal team,id=114,season=0,season_pack=False,episode=114,quality=hdtv,proper=0,special=False,status=OK)>

Steps to reproduce:

Series file with episode season/numer like seal.team.0114.hdtv-lol or seal.team.114.hdtv-lol

Config:

templates:
  sort_series_tmpl:
    all_series:
      identified_by: ep
sort_series_rarbg:
   priority: 6
   template: sort_series_tmpl
   parsing:
     series: guessit

Additional information:

  • flexget -V : 2.13.0
  • python -V : Python 2.7.13
  • Installation method: pip
  • Using daemon: yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions