I've managed to get the following AMC script working in a large majority of scenarios when dealing with automating TV Series, however I'm hitting a snag in how it deals with a TV Show being both on thetvdb and themoviedb. As an example 'Top Gear Patagonia Special' should be matched as a TV special, but with my filebot script it is being matched as a Movie. Looking at the log file I can see that the file is correctly being picked up as existing on both sites, but the series is excluded and it is classified as a Movie.
My question is, is there some way I can set filebot to prefer thetvdb as the preferred source if it exists on both sites?
The script I am using is as follows:
Code: Select all
#!/bin/bash
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3
filebot -script fn:amc --output "/media/NAS" --log-file /home/dave/filebot.log --action test --conflict override -non-strict --def music=y artwork=n clean=y "seriesFormat=Videos/TV Shows/{n.replace(':','- ')} ({y})/Season {s}/{'S'+s.pad(2)}{'E'+e.pad(2)} - {t.replace(':','- ')}" "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME"
Code: Select all
Input: /media/NAS/Downloads/Top_Gear.2014_Special.Patagonia_Part_Two.HDTV_x264-FoV.[VTV].mp4
Top_Gear.2014_Special.Patagonia_Part_Two.HDTV_x264-FoV.[VTV].mp4 [series: Top Gear, movie: Top Gear: Patagonia Special (2014)]
Exclude Series: Top Gear
Group: [tvs:null, mov:top gear patagonia special 2014, anime:null] => [Top_Gear.2014_Special.Patagonia_Part_Two.HDTV_x264-FoV.[VTV].mp4]
Rename movies using [TheMovieDB]