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

exists_movie on both files and directories

$
0
0

@Jimmy wrote:

Hey guys,

My configuration looks like this:

tasks:
  Movies:
    metainfo_movie: yes
    imdb_lookup: yes
    tmdb_lookup: yes
    require_field:
      - imdb_id
      - imdb_score
      - imdb_votes
      - tmdb_released
    quality: 1080p bluray+ h264+ aac+
    if:
      - tmdb_released < now|to_date - timedelta(days=365): reject
    exists_movie:
      path:
        - /downloads/
      lookup: imdb
    best_quality:
      identified_by: "{{ imdb_id }}"
      on_best: do_nothing
      on_lower: reject
    imdb:
      min_score: 7.0
      min_votes: 20000

I'd only like to emphasize a problem with exists_movie, which seems to ignore the files inside the specified directory and only consider folders. This creates the unwanted behavior of downloading the same movie multiple times (different versions) on consecutive runs if it's not contained in a folder (for example a single file torrent).

Is there a way to change exists_movie to consider both files and directories? And if not, is there some workaround on this issue?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles