question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

thetvdb_lookup issues

See original GitHub issue

Expected behaviour:

To be able to get episode information from thetvdb_lookup plugin

Actual behaviour:

When I dump all entries, I get <LazyField - value will be determined when it is accessed> for all of the tvdb entries, even the ones I have attempted to access. They entries just report a value of None

Steps to reproduce:

mkdir -p "/nas/diskstation/torrents/staging/shows/"
touch "/nas/diskstation/torrents/staging/shows/[HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p].mkv"
rm /opt/flexget/.flexget/{db-config.sqlite,flexget.log}
flexget execute --tasks tvdb_lookup_test --disable-tracking --dump

Config:

tasks:
  tvdb_lookup_test:
    manual: yes
    assume_quality:
      720p: hdtv
      1080p: hdtv
      hdtv: 480p
    filesystem:
      path: "/nas/diskstation/torrents/staging/shows/"
      regexp: ".*HorribleSubs.*.mkv"
    accept_all: yes
    series:
      - "Boruto - Naruto Next Generations (2017)":
          identified_by: sequence
          set:
            tvdb_id: 321285
    thetvdb_lookup: yes
    exec:
      on_output:
        # for_accepted: printf '%s' '{{tvdb_series_name}}'
        for_accepted: printf '%s - %s' '{{tvdb_series_name}}' '{{tvdb_absolute_number}}'

Log:

With for_accepted: printf '%s' '{{tvdb_series_name}}'

(click to expand)
2019-11-16 14:04 VERBOSE  manager                       Creating new database /opt/flexget/.flexget/db-config.sqlite - DO NOT INTERRUPT ...
2019-11-16 14:04 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2019-11-16 14:04 VERBOSE  assume_quality tvdb_lookup_test New assumption: 720p is hdtv
2019-11-16 14:04 VERBOSE  assume_quality tvdb_lookup_test New assumption: 1080p is hdtv
2019-11-16 14:04 VERBOSE  assume_quality tvdb_lookup_test New assumption: hdtv is 480p
2019-11-16 14:04 VERBOSE  filesystem    tvdb_lookup_test Starting to scan folders.
2019-11-16 14:04 VERBOSE  filesystem    tvdb_lookup_test Scanning folder /nas/diskstation/torrents/staging/shows/. Recursion is set to False.
2019-11-16 14:04 VERBOSE  details       tvdb_lookup_test Produced 1 entries.
2019-11-16 14:04 VERBOSE  assume_quality tvdb_lookup_test [HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p]
2019-11-16 14:04 VERBOSE  assume_quality tvdb_lookup_test New quality: 1080p hdtv
2019-11-16 14:04 VERBOSE  task          tvdb_lookup_test ACCEPTED: `[HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p]` by accept_all plugin
2019-11-16 14:04 VERBOSE  details       tvdb_lookup_test Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
2019-11-16 14:04 VERBOSE  exec          tvdb_lookup_test Executing: printf '%s' 'None'
2019-11-16 14:04 INFO     exec          tvdb_lookup_test Stdout: None
-- Accepted: ---------------------------
title            : [HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p]
url              : file:///nas/diskstation/torrents/staging/shows/%5BHorribleSubs%5D%20Boruto%20-%20Naruto%20Next%20Generations%20-%20132%20%5B1080p%5D.mkv
original_url     : file:///nas/diskstation/torrents/staging/shows/%5BHorribleSubs%5D%20Boruto%20-%20Naruto%20Next%20Generations%20-%20132%20%5B1080p%5D.mkv
accepted_by      : accept_all
accessed         : 2019-11-15 17:23:55.140467
assumed_quality  : True
content_size     : 0
created          : 2019-11-15 17:23:29.280467
filename         : [HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p].mkv
id               : boruto - naruto next generations (2017) 132
imdb_id          : <LazyField - value will be determined when it is accessed>
imdb_url         : <LazyField - value will be determined when it is accessed>
location         : /nas/diskstation/torrents/staging/shows/[HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p].mkv
modified         : 2019-11-15 10:16:19.168042
original_title   : [HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p]
proper           : False
proper_count     : 0
quality          : 1080p hdtv
release_group    : None
season_pack      : None
series_episodes  : 1
series_exact     : True
series_id        : 132
series_id_type   : sequence
series_identified_by: sequence
series_name      : Boruto - Naruto Next Generations (2017)
series_parser    : <SeriesParseResult(data=[HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p],name=Boruto - Naruto Next Generations (2017),id=132,season=0,season_pack=None,episode=132,quality=1080p,proper=0,special=False,status=OK)>
series_releases  : [1]
series_season    : 2019
task             : tvdb_lookup_test
timestamp        : 2019-11-15 10:16:19.168042
tvdb_absolute_number: <LazyField - value will be determined when it is accessed>
tvdb_actors      : <LazyField - value will be determined when it is accessed>
tvdb_air_time    : <LazyField - value will be determined when it is accessed>
tvdb_airs_day_of_week: <LazyField - value will be determined when it is accessed>
tvdb_banner      : <LazyField - value will be determined when it is accessed>
tvdb_content_rating: <LazyField - value will be determined when it is accessed>
tvdb_ep_air_date : <LazyField - value will be determined when it is accessed>
tvdb_ep_directors: <LazyField - value will be determined when it is accessed>
tvdb_ep_id       : <LazyField - value will be determined when it is accessed>
tvdb_ep_image    : <LazyField - value will be determined when it is accessed>
tvdb_ep_name     : <LazyField - value will be determined when it is accessed>
tvdb_ep_overview : <LazyField - value will be determined when it is accessed>
tvdb_ep_rating   : <LazyField - value will be determined when it is accessed>
tvdb_episode     : <LazyField - value will be determined when it is accessed>
tvdb_first_air_date: <LazyField - value will be determined when it is accessed>
tvdb_genres      : <LazyField - value will be determined when it is accessed>
tvdb_id          : 321285
tvdb_language    : <LazyField - value will be determined when it is accessed>
tvdb_network     : <LazyField - value will be determined when it is accessed>
tvdb_overview    : <LazyField - value will be determined when it is accessed>
tvdb_posters     : <LazyField - value will be determined when it is accessed>
tvdb_rating      : <LazyField - value will be determined when it is accessed>
tvdb_runtime     : <LazyField - value will be determined when it is accessed>
tvdb_season      : <LazyField - value will be determined when it is accessed>
tvdb_series_name : <LazyField - value will be determined when it is accessed>
tvdb_status      : <LazyField - value will be determined when it is accessed>
tvdb_url         : <LazyField - value will be determined when it is accessed>
zap2it_id        : <LazyField - value will be determined when it is accessed>

With for_accepted: printf '%s - %s' '{{tvdb_series_name}}' '{{tvdb_absolute_number}}'

(click to expand)
2019-11-16 14:05 VERBOSE  manager                       Creating new database /opt/flexget/.flexget/db-config.sqlite - DO NOT INTERRUPT ...
2019-11-16 14:05 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2019-11-16 14:05 VERBOSE  assume_quality tvdb_lookup_test New assumption: 720p is hdtv
2019-11-16 14:05 VERBOSE  assume_quality tvdb_lookup_test New assumption: 1080p is hdtv
2019-11-16 14:05 VERBOSE  assume_quality tvdb_lookup_test New assumption: hdtv is 480p
2019-11-16 14:05 VERBOSE  filesystem    tvdb_lookup_test Starting to scan folders.
2019-11-16 14:05 VERBOSE  filesystem    tvdb_lookup_test Scanning folder /nas/diskstation/torrents/staging/shows/. Recursion is set to False.
2019-11-16 14:05 VERBOSE  details       tvdb_lookup_test Produced 1 entries.
2019-11-16 14:05 VERBOSE  assume_quality tvdb_lookup_test [HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p]
2019-11-16 14:05 VERBOSE  assume_quality tvdb_lookup_test New quality: 1080p hdtv
2019-11-16 14:05 VERBOSE  task          tvdb_lookup_test ACCEPTED: `[HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p]` by accept_all plugin
2019-11-16 14:05 VERBOSE  details       tvdb_lookup_test Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
2019-11-16 14:05 VERBOSE  exec          tvdb_lookup_test Executing: printf '%s - %s' 'None' 'None'
2019-11-16 14:05 INFO     exec          tvdb_lookup_test Stdout: None - None
-- Accepted: ---------------------------
title            : [HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p]
url              : file:///nas/diskstation/torrents/staging/shows/%5BHorribleSubs%5D%20Boruto%20-%20Naruto%20Next%20Generations%20-%20132%20%5B1080p%5D.mkv
original_url     : file:///nas/diskstation/torrents/staging/shows/%5BHorribleSubs%5D%20Boruto%20-%20Naruto%20Next%20Generations%20-%20132%20%5B1080p%5D.mkv
accepted_by      : accept_all
accessed         : 2019-11-15 17:23:55.140467
assumed_quality  : True
content_size     : 0
created          : 2019-11-15 17:23:29.280467
filename         : [HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p].mkv
id               : boruto - naruto next generations (2017) 132
imdb_id          : <LazyField - value will be determined when it is accessed>
imdb_url         : <LazyField - value will be determined when it is accessed>
location         : /nas/diskstation/torrents/staging/shows/[HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p].mkv
modified         : 2019-11-15 10:16:19.168042
original_title   : [HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p]
proper           : False
proper_count     : 0
quality          : 1080p hdtv
release_group    : None
season_pack      : None
series_episodes  : 1
series_exact     : True
series_id        : 132
series_id_type   : sequence
series_identified_by: sequence
series_name      : Boruto - Naruto Next Generations (2017)
series_parser    : <SeriesParseResult(data=[HorribleSubs] Boruto - Naruto Next Generations - 132 [1080p],name=Boruto - Naruto Next Generations (2017),id=132,season=0,season_pack=None,episode=132,quality=1080p,proper=0,special=False,status=OK)>
series_releases  : [1]
series_season    : 2019
task             : tvdb_lookup_test
timestamp        : 2019-11-15 10:16:19.168042
tvdb_absolute_number: <LazyField - value will be determined when it is accessed>
tvdb_actors      : <LazyField - value will be determined when it is accessed>
tvdb_air_time    : <LazyField - value will be determined when it is accessed>
tvdb_airs_day_of_week: <LazyField - value will be determined when it is accessed>
tvdb_banner      : <LazyField - value will be determined when it is accessed>
tvdb_content_rating: <LazyField - value will be determined when it is accessed>
tvdb_ep_air_date : <LazyField - value will be determined when it is accessed>
tvdb_ep_directors: <LazyField - value will be determined when it is accessed>
tvdb_ep_id       : <LazyField - value will be determined when it is accessed>
tvdb_ep_image    : <LazyField - value will be determined when it is accessed>
tvdb_ep_name     : <LazyField - value will be determined when it is accessed>
tvdb_ep_overview : <LazyField - value will be determined when it is accessed>
tvdb_ep_rating   : <LazyField - value will be determined when it is accessed>
tvdb_episode     : <LazyField - value will be determined when it is accessed>
tvdb_first_air_date: <LazyField - value will be determined when it is accessed>
tvdb_genres      : <LazyField - value will be determined when it is accessed>
tvdb_id          : 321285
tvdb_language    : <LazyField - value will be determined when it is accessed>
tvdb_network     : <LazyField - value will be determined when it is accessed>
tvdb_overview    : <LazyField - value will be determined when it is accessed>
tvdb_posters     : <LazyField - value will be determined when it is accessed>
tvdb_rating      : <LazyField - value will be determined when it is accessed>
tvdb_runtime     : <LazyField - value will be determined when it is accessed>
tvdb_season      : <LazyField - value will be determined when it is accessed>
tvdb_series_name : <LazyField - value will be determined when it is accessed>
tvdb_status      : <LazyField - value will be determined when it is accessed>
tvdb_url         : <LazyField - value will be determined when it is accessed>
zap2it_id        : <LazyField - value will be determined when it is accessed>

Additional information:

  • FlexGet version: 3.0.4
  • Python version: 3.7.5rc1
  • Installation method: pip
  • Using daemon (yes/no): no
  • OS and version: Ubuntu 19.10

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jasonlyle88commented, Nov 18, 2019

I am getting data back from the series and episodes endpoints now (/series/{id} and series/{id}/episodes/query). However Only the series information is getting populated in flexget. As such I am re-opening this issue to see what is going on with the cetain data not being populated in the flexget plugin.

0reactions
jasonlyle88commented, Nov 20, 2019

Most likely. Thanks for the work @BrutuZ!

Read more comments on GitHub >

github_iconTop Results From Across the Web

TheTVDB Support Center
Welcome to the Support Center. In order to streamline support requests and better serve you, we utilize a support ticket system. Every support...
Read more >
Knowledgebase - TheTVDB Support Center
TheTVDB Known Issues Log & Site Updates (3)​​ This section is where you can find all of the most recent policy updates and...
Read more >
API — Known Issues & Bug Log - TheTVDB Support Center
Please see our v4 API repo to log any new issues, and stay up to date on items that are currently in progress....
Read more >
Known Issues Log & Status — 05/18/20 2:30pm - TheTVDB.com
Users Are Missing Favorites — This has been released, and favorites should trickle in very slowly; Add aliases section into search results — ......
Read more >
Series with TVDB IDs but not found via the API. - Page 2
No news as to what is causing this problem? ... If you try to manually search for the show ID it will say...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found