Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Problem generating entries with sequence identifier

$
0
0

@Sultan wrote:

Hi there,

I'm new to Flexget (so if there are any other issues with my config, please let me know!), and I'm having an issue getting my configuration to work. I'm trying to set up 2 tasks: one that monitors a feed for new episodes of a series, and one that downloads all episodes of a series that I don't have (and assuming there's no history for that show within Flexget). Here's my config:

templates:

  anime:
    configure_series:
      settings:
        quality: 1080p
        from_group:
          - horriblesubs
          - deadfish
        begin: 01
        set:
          path: /path/to/download/{{series_name}}
      from:
        my_anime_list:
          username: username
          status:
            - watching
            - plan_to_watch
    transmission:
      host: localhost
      port: 9091
      username: username
      password: password

tasks:
  currently_airing:
    rss: https://nyaa.pantsu.cat/feed?
    template: anime

  backfill:
    template: anime
    discover:
      what:
        - next_series_episodes:
            backfill: yes
      from:
        - horriblesubs: yes
        - nyaa:
            category: anime eng
            filter: all
      interval: 0 hours

The issue I'm having is with the second task backfill. If I run it with:

identified_by: ep

&

- next_series_episodes:
    backfill: yes
    from_start: yes

I get:

2017-11-03 17:00 VERBOSE  discover      backfill        Discovering 7 titles ...
2017-11-03 17:00 VERBOSE  discover      backfill        Searching for `Shoujo Shuumatsu Ryokou S01E01` with plugin `horriblesubs` (1 of 7)
2017-11-03 17:00 VERBOSE  discover      backfill        Searching for `Shoujo Shuumatsu Ryokou S01E01` with plugin `nyaa` (1 of 7)
2017-11-03 17:00 VERBOSE  discover      backfill        No search results for `Shoujo Shuumatsu Ryokou S01E01`

and the debug is:

2017-11-03 14:54 DEBUG    est_released  backfill        Shoujo Shuumatsu Ryokou S01E01
2017-11-03 14:54 DEBUG    est_series_tvmaze backfill        Searching api_tvmaze for episode
2017-11-03 14:54 DEBUG    est_series_tvmaze backfill        show_name: Shoujo Shuumatsu Ryokou
2017-11-03 14:54 DEBUG    est_series_tvmaze backfill        series_season: 1
2017-11-03 14:54 DEBUG    est_series_tvmaze backfill        series_episode: 1
2017-11-03 14:54 DEBUG    est_series_tvmaze backfill        series_name: Shoujo Shuumatsu Ryokou
2017-11-03 14:54 DEBUG    api_tvmaze    backfill        returning search params for series lookup: {'tvdb_id': None, 'name': 'Shoujo Shuumatsu Ryokou', 'tvmaze_id': None, 'tvrage_id': None}
2017-11-03 14:54 DEBUG    api_tvmaze    backfill        searching db tvmaze_series for the values [('tvdb_id', None), ('name', 'Shoujo Shuumatsu Ryokou'), ('tvmaze_id', None), ('tvrage_id', None)]
2017-11-03 14:54 DEBUG    api_tvmaze    backfill        did not find exact match for series Shoujo Shuumatsu Ryokou in cache, looking in search table
2017-11-03 14:54 DEBUG    api_tvmaze    backfill        searching lookup table using title Shoujo Shuumatsu Ryokou
2017-11-03 14:54 DEBUG    api_tvmaze    backfill        found series Girls' Last Tour from search table
2017-11-03 14:54 DEBUG    api_tvmaze    backfill        returning series Girls' Last Tour from cache
2017-11-03 14:54 DEBUG    api_tvmaze    backfill        searching for episode of show Girls' Last Tour in cache
2017-11-03 14:54 DEBUG    api_tvmaze    backfill        found episode id 1304413, number 1, season 1 for show Girls' Last Tour in cache
2017-11-03 14:54 DEBUG    est_series_tvmaze backfill        received air-date: 2017-10-06 00:00:00
2017-11-03 14:54 DEBUG    discover      backfill        Shoujo Shuumatsu Ryokou S01E01 has been released at 2017-10-06 00:00:00

etc.

So, it appears to be able to properly create an entry, but S01E01 is not a proper search parameter--these shows use a sequence identifier i.e. 01, 02, 03, etc., as in the config I posted above.

However, if I run with my config as posted, I get:

2017-11-03 16:58 VERBOSE  discover      backfill        Discovering 7 titles ...
2017-11-03 16:58 VERBOSE  details       backfill        Task didn't produce any entries.

Upon looking at the debug for the configuration I posted above, I see this:

2017-11-03 15:12 DEBUG    est_released  backfill        Shoujo Shuumatsu Ryokou 001
2017-11-03 15:12 DEBUG    est_series_tvmaze backfill        Searching api_tvmaze for episode
2017-11-03 15:12 DEBUG    est_series_tvmaze backfill        series_name: Shoujo Shuumatsu Ryokou
2017-11-03 15:12 DEBUG    est_series_tvmaze backfill        series_episode: 1
2017-11-03 15:12 DEBUG    est_series_tvmaze backfill        show_name: Shoujo Shuumatsu Ryokou
2017-11-03 15:12 DEBUG    api_tvmaze    backfill        returning search params for series lookup: {'name': 'Shoujo Shuumatsu Ryokou', 'tvdb_id': None, 'tvmaze_id': None, 'tvrage_id': None}
2017-11-03 15:12 DEBUG    api_tvmaze    backfill        searching db tvmaze_series for the values [('name', 'Shoujo Shuumatsu Ryokou'), ('tvdb_id', None), ('tvmaze_id', None), ('tvrage_id', None)]
2017-11-03 15:12 DEBUG    api_tvmaze    backfill        did not find exact match for series Shoujo Shuumatsu Ryokou in cache, looking in search table
2017-11-03 15:12 DEBUG    api_tvmaze    backfill        searching lookup table using title Shoujo Shuumatsu Ryokou
2017-11-03 15:12 DEBUG    api_tvmaze    backfill        found series Girls' Last Tour from search table
2017-11-03 15:12 DEBUG    api_tvmaze    backfill        returning series Girls' Last Tour from cache
2017-11-03 15:12 DEBUG    api_tvmaze    backfill        searching for episode of show Girls' Last Tour in cache
2017-11-03 15:12 DEBUG    api_tvmaze    backfill        fetching episode 1 season 0 for series_id 31982 for tvmaze
2017-11-03 15:12 DEBUG    est_series_tvmaze backfill        Not enough parameters sent for episode lookup
2017-11-03 15:12 DEBUG    est_movies    backfill        Unable to check release for Shoujo Shuumatsu Ryokou 001, tmdb_release and movie_year fields are not defined
2017-11-03 15:12 DEBUG    discover      backfill        No release date could be determined for Shoujo Shuumatsu Ryokou 001
2017-11-03 15:12 DEBUG    series        backfill        no episodes found for series `Shoujo Shuumatsu Ryokou` with parameters season: None, downloaded: True
2017-11-03 15:12 DEBUG    series        backfill        no season packs found for series `Shoujo Shuumatsu Ryokou` with parameters season: None, downloaded: True

So, it seems that using the sequence identifier doesn't give enough information to allow the show to be properly looked up, an entry to be made, and then searched via the plugins. However, using the ep identifier results in unsearchable queries. I'm not really sure what to do here. Is there a way to strip the S01E from the search query? Or a way to use a different api to generate entries that would be compatible with my config? Could anybody give me a recommendation on how to fix this, or an alternative way to accomplish the purpose of my 2nd task?

Thank you.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles