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

Move entries generated from deluge that are TV Shows to another folder

$
0
0

@Kwb wrote:

I'm trying to achieve what is described in the title, with no much success.. But first, my current configuration:

I have my main config file that reads a bunch of RSS feeds, filters the entries according to series plugin (where I have manually entered my fav tv shows), and loads the torrents into deluge. Deluge plugin has also a set sub-plugin to move the entries, once finished downloading, to another folder, for Plex use.

This works very well, as long as all input comes from RSS feeds and are in my "Fav series" Series plugin.

However, there are some times where I want to manually download a series, so I just take the torrent and put it into Deluge. This generally means that I do not have that particular show in my "Fav series" list.

What I'm trying to do here is, read all the seeding entries from deluge, crossmatch them against the video files in a certain folder. All the entries matching, at this point, should be video files. Now I'd like to understand if they are TV series episodes or not, if so, they should be moved to my Plex folder and renamed accordingly (and deluge should just its file pointers to the right position).

This is what I tried so far:

    get_series:
      from_deluge:
        host: ..
        port: ..
        username: ..
        password: ..
        filter:
          state: 'seeding'
      crossmatch:
        from:
          - filesystem:
              path:
                - "~/Ready/"
              recursive: yes
              retrieve: files
              regexp: '.*\.(avi|mkv|mp4)$'
        fields:
          - title
        action: accept
      set:
        series_name: "{{ title }}"
      thetvdb_lookup: yes

This has 3 issues so far:

  • some entries, that are not video files are not filtered out by the crossmatch.
  • TVDB lookup seems to not work, or at least is working lazily (at least that's what --dump flag shows)
  • All the entries remain in a "UNDECIDED" state, I would expect a number of Entries as accepted and some other rejected (due to crossmatch plugin)

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles