Skip to content

Include plugin does not reload data from file on data change #1733

@tubedogg

Description

@tubedogg

Expected behaviour:

When a change is made to an external file added to a task with the include plugin, the change will be reflected in Flexget running in daemon mode, in a task that involves next_series_episodes (at least after daemon reload-config, if not before).

Actual behaviour:

I'm having a very similar problem to #957, and it seems to be related to discover/next_series_episodes, except I am using an include as opposed to a template directly in the config file. A change to the actual task in the main config file is required for the external include file to be reloaded. This does not seem to affect other uses of include, such as a task filtering an externally included series list against an RSS feed - in that case, changes are always reflected immediately.

Steps to reproduce:

  • Step 1: Start Flexget in daemon mode.
  • Step 2: Run the search_for_show task with debug logging and note what show name it lists as being searched for.
  • Step 3: Change the show name in tmp/newshow and run flexget daemon reload-config (do not make any changes to the main config file).
  • Step 4. Run the search_for_show task again and note that the show name being searched has not changed.

Config:

  search_for_show:
    manual: yes
    include: [tmp/newshow]
    discover:
      what:
        - next_series_episodes: yes
      from:
        - [search plugin]
      interval: 1 minute

Separate file tmp/newshow:

    series:
      - Not Going Out:
          quality: 720p hdtv|webdl|webrip h264
          exact: yes
          begin: S08E01

Log:

The log just shows the series name being searched for. There are no error messages and no crashes.

Additional information:

  • Flexget Version: 2.10.9
  • Python Version: 2.7.10
  • Installation method: pip
  • OS and version: macOS 10.11.6
  • Link to crash log: n/a

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions