how can I exclude a series/movie name from a rename call?

Any questions? Need some help?
Post Reply
elgallo
Posts: 34
Joined: 29 Apr 2014, 10:33

how can I exclude a series/movie name from a rename call?

Post by elgallo » 27 Jul 2019, 19:50

filebot is installed on FreeBSD, ssh from MacOS the call is

Code: Select all

filebot -script fn:amc --db TheTVDB --output "/path/to/plex/" -no-xattr --format {plex} --action hardlink -non-strict -r "/path/to/done/series" --log-file amc.log --def excludeList=amc.txt 
or

Code: Select all

filebot -script fn:amc --db TheMovieDB --output "/path/to/plex/" -no-xattr --format {plex} --action hardlink -non-strict -r "/path/to/done/movies" --log-file amc.log --def excludeList=amc.txt 
Both are in a script that is called when a new movie or episode is detected in a folder on FreeBSD (via Hazel in MacOS). Plex is setup to scan once a day or when new item is detected.

on a very rare occasion, a Movie from /path/to/movies will be renamed to /path/to/plex/The Cinema Snob/random movie name only once has the Cinema Snob movie matched the movie just wrong part (Hellraiser was the movie series but the wrong part/number/year)

TL;DR - how can I edit the call to force filebot to NEVER match with "The Cinema Snob"

User avatar
rednoah
The Source
Posts: 16546
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: how can I exclude a series/movie name from a rename call?

Post by rednoah » 27 Jul 2019, 19:55

Please posts logs with file paths so I can run a few tests myself so I can help you find a solution.
:idea: Please read the FAQ and How to Request Help.

kim
Power User
Posts: 802
Joined: 15 May 2014, 16:17

Re: how can I exclude a series/movie name from a rename call?

Post by kim » 28 Jul 2019, 02:14

e.g.

Code: Select all

--filter "n != /The Cinema Snob/"
or

Code: Select all

--filter "id != 265932"
viewtopic.php?t=2127
viewtopic.php?t=6247#p36007

https://www.thetvdb.com/series/the-cinema-snob

User avatar
rednoah
The Source
Posts: 16546
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: how can I exclude a series/movie name from a rename call?

Post by rednoah » 28 Jul 2019, 08:25

That's a possible workaround. But I'll need the original file path to fix the issue at the source.

There's probably a term like "cinema" in the folder structure that somehow hasn't been blacklisted yet.

Please provide file paths so i can fix things for everyone.
:idea: Please read the FAQ and How to Request Help.

elgallo
Posts: 34
Joined: 29 Apr 2014, 10:33

Re: how can I exclude a series/movie name from a rename call?

Post by elgallo » 28 Jul 2019, 11:18

folder structure is '/zpool/done/cine/` forgot where to find logs on FreeBSD. I suppose the folder name could be an issue, though I presumed filebot would only "look" and subfolders and not consider the parent folder name

User avatar
rednoah
The Source
Posts: 16546
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: how can I exclude a series/movie name from a rename call?

Post by rednoah » 28 Jul 2019, 11:29

Well, if it can't find a good match at first glance, then it'll look at more things deeper.

I guess it'll come up with cine something because it's still better than nothing at all.

I'll add cine to the exclude list: viewtopic.php?f=3&t=359
:idea: Please read the FAQ and How to Request Help.

Post Reply