esac
t=$(basename "$f" "$ext")
t=${t%.*}
+ # remove also (2013){1080p}[en] stuff
+ t=${t% (*)\{*\}*}
+ echo "Set title: $t"
mkvpropedit --set title="$t" "$f" > /dev/null
done
transmission:
host: localhost
port: 9091
- path: /home/ramsi/Torrents
+ path: /mnt/Skaro/Torrents.flex
removewhendone: yes
ratio: 0.0
accept_all: yes
find:
- path: /home/ramsi/Torrents
+ path: /mnt/Skaro/Torrents.flex
recursive: yes
regexp: '.*\.(avi|mkv|mp4)$'
move:
to: "/mnt/Skaro/Series/{{series_name_tvdb}}/Season {{tvdb_season}}/"
- filename: "{{tvdb_season}}x{{tvdb_episode|pad(2)}} {{ep_name}}{{location|pathext}}"
+ filename: "{{tvdb_season}}x{{tvdb_episode|pad(2)}} {{ep_name}} ({{ep_air_date|formatdate('%Y')}}){{'{'}}{{quality}}{{'}'}}[en]{{location|pathext}}"
# vim: sts=2 ts=2 sw=2 et