Moving TV Shows into Correct Directory (Not TV Shows)

All about user-defined episode / movie / file name format expressions
Post Reply
j66454
Posts: 7
Joined: 08 Jun 2019, 14:29

Moving TV Shows into Correct Directory (Not TV Shows)

Post by j66454 »

Hi All,

So here is my FileBot details;

Code: Select all

FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.2.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_212
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 12 Core / 13 GB Max Memory / 41 MB Used Memory
OS: Linux (amd64)
HW: Linux jayeesmediabox 4.15.0-50-generic #54~16.04.1-Ubuntu SMP Wed May 8 15:55:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
DATA: /home/<username>/.filebot/filebot-portable/data/root
Package: TAR
License: FileBot License P8219968 (Valid-Until: 2020-06-15)
Done ヾ(@⌒ー⌒@)ノ
I currently have an issue in which any TV show I download, it moves the files into the following directory;

Code: Select all

/home/<username>/Cloud/Shows/<Name of Show>/TV Shows
And instead I need it to just be

Code: Select all

/home/<username>/Cloud/Shows/<Season Number> etc.
Here is what is set up in my rtorrent post processing;

Code: Select all

filebot -script fn:amc --output "$CONFIG_OUTPUT" --action copy --conflict skip -non-strict --def "ut_label=TV" --def "ut_label=movie" --def "ut_label=music" -no-xattr --log-file amc.log --def unsorted=y music=y artwork=y excludeList="/home/<username>/.filebot/.excludes" ut_dir="$ARG_PATH" ut_kind=multi ut_title="$ARG_NAME" ut_label="$ARG_LABEL" --def @/home/<username>/.filebot/formatting &
My config_output is set to;

Code: Select all

CONFIG_OUTPUT="/home/<username>/Cloud"
In my formatting file however, here is my current setup;

Code: Select all

movieFormat=Movies/{n}/{plex}
seriesFormat=Shows/{n}/{plex}
animeFormat=Anime/{n}/{plex}
musicFormat=Music/{n}/{album+'/'}{pi.pad(2)+'. '}{artist} - {t}
I've tried all different ways to get the formatting right but I just can't work it out. Any advice anyone can give, would be appreciated.

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

Re: Moving TV Shows into Correct Directory (Not TV Shows)

Post by rednoah »

1.
Please read this:
viewtopic.php?f=5&t=4116


e.g. {plex}

Code: Select all

TV Shows/Alias/Season 01/Alias - S01E01 - Truth Be Told
e.g. {plex.name}

Code: Select all

Alias - S01E01 - Truth Be Told

I guess you'll want to use {plex.name} since you only want the file name according to Plex standards, but with your own custom non-standard directory structure in front of that:

Code: Select all

Shows/{n}/{plex.name}


2.
I highly recommend using the FileBot Format Editor when prototyping your custom formats, and only copy & pasting them in into your CLI script later on if and when you're happy with the results in the GUI:
https://www.filebot.net/naming.html

Image
:idea: Please read the FAQ and How to Request Help.
Post Reply