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

Move and Illegal Characters [Solved]

$
0
0

@roark wrote:

I'm having some difficulties when using the move plugin after looking up the tvdb_series_name with shows that include a colon (ex Anthony Bourdain: Parts Unknown). It looks like move is actually trying to create the directory with the colon in the path name. The result is that the directory is actually being created as "AQ0S6T~U" instead of "Anthony Bourdain Parts Unknown". I've tried adding pathscrub next to the tvdb_series_name but no luck. How can I exclude the colon from the directory/filename?

Any help would be greatly appreciated.

schedules:
  - tasks: '*'
    interval:
      minutes: 15
  - tasks: sort-files
    interval:
      minutes: 5  
tasks:
  download-rss:
    rss: http://showrss.url
    all_series: yes
    transmission:
      host: ****
      port: ****
    clean_transmission:
      host: ****
      port: ****
      finished_for: 1 minutes
      enabled: yes 
 # sorting task
  sort-files:
    filesystem:
      # directory with the files to be sorted
      path: /mnt/library/Torrents/complete
      # fetch all avi, mkv and mp4 files, skips the .part files (unfinished torrents)
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    disable: seen
    accept_all: yes
    # this is needed for the episode names
    thetvdb_lookup: yes
    all_series:
      parse_only: yes
    # shows that have issue with TVDB are manually defined here
    series:
      - "Anthony Bourdain: Parts Unknown":
          set:
            tvdb_id: 264108
      - "Shameless (US)":
          set:
            tvdb_id: 161511
    move:
      # this is where the series will be put "Series/Season 01/"
      to: /mnt/library/Videos/TV/{{ tvdb_series_name|pathscrub }}/Season {{ tvdb_season|pad(2) }}
      # save the file as "Series Name - S01E01 - Episode Name.ext"
      rename: '{{ tvdb_series_name|pathscrub }} - {{ series_id }} - {{ tvdb_ep_name }}{{ location | pathext }}'
      # remove non-essential leftover files
      clean_source: 50
    pushbullet:
      apikey: ****
      device: ****
      title: "Added: {{ tvdb_series_name }}"
      body: "{{ series_id }} - {{ tvdb_ep_name }}"

Posts: 7

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles