Page 1 of 1

Filebot creating duplicates

Posted: 15 Jan 2018, 16:33
by goose
I'm sure this is something simple I've screwed up -- I would appreciate help identifying that error, as I've been unable to find it myself by searching or looking on google.

Filebot is creating duplicates of files under their original names, and the properly renamed names.

My filebot -script fn:sysinfo:

Code: Select all

FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Jan 15, 2018 11:23:54 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-11-21 (r512)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_151
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 25 MB Used Memory
OS: Linux (amd64)
Package: DEB
uname: Linux eddard 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
I'm using Filebot with the Transmission call script:

Code: Select all

#!/bin/sh -xu

# Input Parameters
ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
ARG_LABEL="N/A"

# Configuration
CONFIG_OUTPUT="/mnt/md0/media"

/usr/bin/filebot -script fn:amc --output "$CONFIG_OUTPUT" --action hardlink --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y excludeList=".excludes" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL"
Here's an except of the relevant part of my amc.log:

Code: Select all

Run script [fn:amc] at [Mon Jan 15 11:16:02 EST 2018]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: excludeList = .excludes
Parameter: ut_dir = /mnt/md0/torrent/complete/Deadpool.2016.720p.BRRip.X264.AC3-EVO
Parameter: ut_kind = multi
Parameter: ut_title = Deadpool.2016.720p.BRRip.X264.AC3-EVO
Parameter: ut_label = N/A
Use excludes: /mnt/md0/media/.excludes (9)
Input: /mnt/md0/torrent/complete/Deadpool.2016.720p.BRRip.X264.AC3-EVO/Deadpool.2016.720p.BRRip.X264.AC3-EVO.mkv
Group: [mov:deadpool 2016] => [Deadpool.2016.720p.BRRip.X264.AC3-EVO.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/md0/torrent/complete/Deadpool.2016.720p.BRRip.X264.AC3-EVO/Deadpool.2016.720p.BRRip.X264.AC3-EVO.mkv]
[HARDLINK] From [/mnt/md0/torrent/complete/Deadpool.2016.720p.BRRip.X264.AC3-EVO/Deadpool.2016.720p.BRRip.X264.AC3-EVO.mkv] to [/mnt/md0/media/Movies/Deadpool (2016)/Deadpool (2016).mkv]
Processed 1 files
Fetching movie artwork for [Deadpool (2016)] to [/mnt/md0/media/Movies/Deadpool (2016)]
Generate Movie NFO: Deadpool [293660]
Fetching /mnt/md0/media/Movies/Deadpool (2016)/poster.jpg => [posters/2000x3000, en, http://image.tmdb.org/t/p/original/inVq3FRqcYIRl2la8iZikYYxFNR.jpg]
Fetching /mnt/md0/media/Movies/Deadpool (2016)/fanart.jpg => [backdrops/1920x1080, en, http://image.tmdb.org/t/p/original/7YojGsCi9mw3SYhR7WsqgWkRfsy.jpg]
Fetching /mnt/md0/media/Movies/Deadpool (2016)/clearart.png => [hdmovieclearart, en, 14.0, https://assets.fanart.tv/fanart/movies/293660/hdmovieclearart/deadpool-55c4d8428edc7.png]
Fetching /mnt/md0/media/Movies/Deadpool (2016)/logo.png => [hdmovielogo, en, 17.0, https://assets.fanart.tv/fanart/movies/293660/hdmovielogo/deadpool-567c7f079a308.png]
Fetching /mnt/md0/media/Movies/Deadpool (2016)/disc.png => [moviedisc/bluray, en, 13.0, https://assets.fanart.tv/fanart/movies/293660/moviedisc/deadpool-56bc6b80ca1a0.png]
Done ヾ(@⌒ー⌒@)ノ
However, when I ls the file, it's shows:

Code: Select all

[goose@eddard: /mnt/md0/media/Movies/Deadpool (2016) ] $ ls -1             [11:26AM]
clearart.png
Deadpool.2016.720p.BRRip.X264.AC3-EVO.mkv
Deadpool (2016).mkv
disc.png
fanart.jpg
folder.jpg
logo.png
movie.nfo
poster.jpg
[goose@eddard: /mnt/md0/media/Movies/Deadpool (2016) ] $
With TV shows, I'm also getting duplicate seasons, i.e. a "Season 8" and "Season 08" folder. The "Season 8" folder has the original/incorrectly named files, and the "Season 08" folder has them correct:

Code: Select all

[goose@eddard: /mnt/md0/media/TV Shows/Archer (2009) ] $ ls -1 *             [11:30AM]
banner.jpg
clearart.png
fanart.jpg
folder.jpg
landscape.jpg
logo.png
poster.jpg
tvshow.nfo

Season 08:
Archer (2009) - S08E01 - Archer Dreamland - No Good Deed.mp4
Archer (2009) - S08E05 - Archer Dreamland - Sleepers Wake.mp4
banner.jpg
folder.jpg
poster.jpg

Season 8:
Archer.S08E01.WEB-DL.x264-RARBG.mp4
Archer.S08E05.WEB-DL.x264-RARBG.mp4
[goose@eddard: /mnt/md0/media/TV Shows/Archer (2009) ] $
What have I configured incorrectly?

Re: Filebot creating duplicates

Posted: 15 Jan 2018, 17:13
by rednoah
You probably have multiple tools that process files independently.


The file Deadpool (2016).mkv by FileBot according to the log:

Code: Select all

[HARDLINK] From [/mnt/md0/torrent/complete/Deadpool.2016.720p.BRRip.X264.AC3-EVO/Deadpool.2016.720p.BRRip.X264.AC3-EVO.mkv] to [/mnt/md0/media/Movies/Deadpool (2016)/Deadpool (2016).mkv]
The log does not contain any files that indicate that FileBot is creating this file:

Code: Select all

/mnt/md0/media/Movies/Deadpool (2016)/Deadpool.2016.720p.BRRip.X264.AC3-EVO.mkv
:arrow: Therefore, this file is created by a different tool and not FileBot.

Re: Filebot creating duplicates

Posted: 15 Jan 2018, 17:16
by goose
Ohhhhh, it's Sonarr and Radarr. I understand now. Thank you!

Re: Filebot creating duplicates

Posted: 08 Dec 2019, 02:48
by boom3713
I had the same issue. I realized that I had Radarr downloading the movies to /media/downloads/movies/, but it should be going to /media/downloads/ instead. Because once in downloads Filebot will do the rest and move it to movies directory for you.