Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

How to prevent series plugin from flagging entries as "downloaded"?

$
0
0

@Andy2244 wrote:

Hi,

it seems that if the series plugin ever accepts a entry it will create a database entry in the "episode_releases" table and mark it "downloaded". This prevents any re-download of the same release, only upgrade/proper is allowed. So is there a way to circumvent this behavior or manually remove/reset the "downloaded" enty in the database?

I did write a simple dummy plugin that discover accepts, so i get a valid list of episodes to download. I do this so i can metatag the entries first, before feeding it again into the real discover task, where i need the metadata for better lookup. The problem is that this task already creates "downloaded" entries via the series plugin and i can't find a way to disable this behavior. I also have a hard time understanding why the series plugin adds every accepted entry to the database in the first place. Should flagging "downloaded" not be handled by real output plugins like download/torrent/sabnzbd or manually on series import from disc?

#######################################################
  generate-next-episodes:
    #manual: yes
    priority: 4
    #thetvdb_lookup: yes
    trakt_lookup:
      username: '{{ secrets.trakt.username }}'
      account: '{{ secrets.trakt.account }}'

#START
    configure_series:
      from:
        from_digest:
          list: series_trakt
          expire: no
      settings:
        identified_by: ep
        tracking: no
        #tracking: backfill
        #quality: 720p
        #parse_only: yes
    
    discover:
      interval: 1 seconds
      what:
        - next_series_episodes: yes
            #backfill: yes
      from:
        - dummysearch: yes

    digest:
      list: next_episodes
      #state: undecided
#END
#######################################################
  discover-nzb:
    manual: yes
    priority: 5
    max_reruns: 10
    include: reject.yml
    template: [tv-quality] # tv-scene-release]

#START
    configure_series:
      from:
        from_digest: 
          list: series_trakt
          expire: no
      settings:
        #identified_by: ep
        #tracking: backfill
        #tracking: no # backfill
        set:
          tracking: no
          downloaded: 0

    discover:
      interval: 1 seconds
      what:
        - from_digest:
            list: next_episodes
            expire: no
      from:
        - newznab:
            website: '{{ secrets.newznab.url }}'
            apikey: '{{ secrets.newznab.key-api }}'
            search_type: tv
            category: tv/hd
            #ignore_metadata: true
            

    #sabnzbd:
    #  url: '{{ secrets.sabnzbd.url }}'
    #  key: '{{ secrets.sabnzbd.key-api }}'

Posts: 11

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles