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.

Incorrect timeframe plugin behaviour when loading items from an entry_list

See original GitHub issue

Expected behaviour:

The 1080p is downloaded

Actual behaviour:

The plugin ignores 1080p and sees only 720p

Steps to reproduce:

Config:

schedules:
  - tasks: ["download *"]
    interval:
      minutes: 15

web_server: yes

tasks:
  download good movies:
    entry_list: movies_list
    seen_movies:
      scope: local
    seen: local
    seen_info_hash: local
    timeframe:
      wait: 14 day
      on_reached: do_nothing
      target: 1080p
    priority: 5
    imdb:
      min_score: 6.3
      min_votes: 1000
      reject_genres:
        - documentary
        - musical
        - music
        - history
        - biography
        - war
    list_remove:
      - entry_list: movies_list
    download: /downloads

Log:

(click to expand)
2018-10-26 09:16 VERBOSE  task          download good movies REJECTED: `Incredibles 2 (2018) WEB-DL 720p от селезень | iTunes` by timeframe plugin because timeframe waiting
2018-10-26 09:16 VERBOSE  task          download good movies REJECTED: `Incredibles 2 (2018) WEB-DL 1080p от TeamHD | iTunes` by timeframe plugin because timeframe waiting
2018-10-26 09:16 INFO     timeframe     download good movies `incredibles 2 2018`: timeframe waiting for 321h:59min. Currently best is `Incredibles 2 (2018) WEB-DL 720p от селезень | iTunes`.
--dump output excerpt 720p:
title            : Incredibles 2 (2018) WEB-DL 720p от селезень | iTunes
url              : http://d.rutor.is/download.php?rss=661218
original_url     : http://d.rutor.is/download.php?rss=661218
accepted_by      : imdb
content-length   : 82000
content_files    : [Incredibles.2.2018.720p.WEB-DL.selezen.mkv]
content_size     : 4012.526089668274
description      : Мультипликация
filename         : [rutor.is]Incredibles.2.2018.720p.WEB-DL.selezen.mkv.torrent
id               : incredibles 2 2018
imdb_id          : tt3606756
quality          : 720p webdl
reason           : timeframe waiting
rejected_by      : timeframe

1080p:

title            : Incredibles 2 (2018) WEB-DL 1080p от TeamHD | iTunes
url              : http://d.rutor.is/download.php?rss=661219
original_url     : http://d.rutor.is/download.php?rss=661219
accepted_by      : imdb
content-length   : 90640
content_files    : [Incredibles.2.2018.1080p.WEB-DL.TeamHD.mkv]
content_size     : 4444.096870422363
description      : Мультипликация
filename         : [rutor.is]Incredibles.2.2018.1080p.WEB-DL.TeamHD.mkv.torrent
id               : incredibles 2 2018
imdb_id          : tt3606756
quality          : 1080p webdl
raw_title        : Суперсемейка 2 / Incredibles 2 (2018) WEB-DL 1080p от TeamHD | iTunes
reason           : timeframe waiting
rejected_by      : timeframe

Additional information:

  • FlexGet version: 2.17.5 (first time noticed on 2.17.0, but probably is here for long time)
  • Python version: 3.5.3
  • Installation method: pip3 install (+docker)
  • Using daemon (yes/no): yes
  • OS and version: Debian Stretch

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
gazpachokingcommented, Nov 1, 2018

Thanks for this investigation! Not sure the best way yet, but we should definitely fix entry_list turning the quality field into a string.

0reactions
andrey-yantsencommented, Oct 27, 2018

I’ve done some investigation: timeframe plugin (and probably any other plugin) is expecting the quality field to be type of Quality, but when you’re loading data from an entry_list — it’s stored as str. As temporary workaround I’m removing quality field using manipulate plugin, and seems like it’s working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Oracle APEX Release Notes, Release 21.2
EDITING A LIST ENTRY - 'LIST ENTRY CURRENT FOR PAGES TYPE' BEHAVIOURS IS NOT CORRECT. 32613703, REST DATA SOURCE DISCOVERY DOES NOT WORK...
Read more >
Page Plugin - Social Plugins
The Page plugin lets you easily embed and promote any public Facebook Page on ... Use a comma-separated list to add multiple tabs,...
Read more >
Unity 2019.1.0b8
Particles: Fixed Editor crash on adding item to a Particle System's External ... Timeline: Fixed Match Offsets commands causing improper animation defaults ...
Read more >
Problem templates - ITOM Practitioner Portal - Micro Focus
Implement an in-house article retriever plugin ... Change Timeframe dialog box ... Configure Parameters for Dynamic Entry List
Read more >
Content Management API
API Rate limits specify the number of requests a client can make to Contentful APIs in a specific time frame. Every request counts...
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