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

Can't move downloaded file

$
0
0

@Ross_Barber wrote:

I've been trying to get Flexget up and running with OSMC for a few weeks now, it almost works but I keep falling at the final hurdle, I cannot get the finished downloaded file to move to the correct location. I keep getting the error
'Rejected by series plugin because episode has already been downloaded'

I've used the installer supplied at https://github.com/alombarte/raspberry-osmc-automated which comes with the following script

    tasks:      
      # downloading task        
      download-rss:     
        # RSS where everything is downloaded from:    
        rss: CONFIG_RSS_FEED
        # fetch all the feed series
        all_series: yes
        # use transmission to download the torrents
        transmission:
          host: localhost
          port: 9091
          username: transmission
          password: transmission
          path: /home/osmc/Downloads
        # Remove completed downloads from Transmission
        clean_transmission:
          host: localhost
          port: 9091
          username: transmission
          password: transmission
          finished_for: 1 hours
      # sorting task
      sort-files:
        filesystem:
          # directory with the files to be sorted
          path: /home/osmc/Downloads/
          # fetch all avi, mkv and mp4 files, skips the .part files (unfinished torrents)
          regexp: '.*\.(avi|mkv|mp4)$'
          recursive: yes
        accept_all: yes
        disable:
          - seen
          - retry_failed
        # this is needed for the episode names
        thetvdb_lookup: yes
        all_series:
          # for some reason all_series rejects all episodes here, even with seen: local, so parse_only must be added
          parse_only: yes
        # TVDB doesn't recognise "Adventure Time with Finn and Jake" so you must add such exceptions here manually
        series:
          - Adventure Time
        move:
          # this is where the series will be put.
          to: /home/osmc/TV Shows/{{ tvdb_series_name }}
          # Set the filename E.g: "Series Name - S01E02 - Episode Name.mkv"
          filename: "{{ tvdb_series_name }} - {{ series_id|default('XX') }} {% if tvdb_ep_name|default(False) %} - {{ tvdb_ep_name }}{% endif %}{{ location|pathext }}"
        # Download subtitles of the Series in your chosen language:
        exec: /usr/local/bin/subliminal download -l "SUBTITLES_LANGUAGE" -s "/home/osmc/TV Shows/{{ tvdb_series_name }}/{{ tvdb_series_name }} - {{ series_id|default('XX') }} {% if tvdb_ep_name|default(False) %} - {{ tvdb_ep_name }}{% endif %}{{ location|pathext }}"

The RSS feed I've been using to test contains just one show, 'Arrow' and I have this show defined in series: with the tvdb_id also defined.

I've tried many fixes on this forum and others to edit this script but nothing seems to fix this problem. I've tried things such as 'seen: local' as well as a number of others.

Does anyone have a clue what to do, it's a very simple script and I can't see why it's not working.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles