Page 1 of 1

How-to-help parts and remarks in filename

Posted: 08 Sep 2017, 11:46
by DeepDarkTruthful
I'd like to use filebot to rename my tv-recordings.

Usually I add stl 1x8 to the title, for the renamer to know what episode it is.

So the filename would be something like
20170908 1131 - SomeBelgianChannel - Firefly.ts

I'd change that into
20170908 1131 - SomeBelgianChannel - Firefly 1x1.ts

As recordings go, sometimes they are in 2 pieces. How should I name my recordings for filebot to recognize the part bit from the filename,
20170908 1131 - SomeBelgianChannel - Firefly 1x1p2.ts
Eventually the file will be used by plex, but not all Plex implementations are kind to stacked episodes.

Also, I would like to be able to put something (perhaps a remark like "out of sync") in the filename before releasing the powers of filebot. I would like to keep that remark in the resulting
20170908 1131 - Channel - Firefly 1x1 [Out of sync].ts
(They don't have to be square brackets, as long as I can use it in windows and synology filenames)

And have filebot change that into
Firefly - S01E01 - Serenity [Out of sync]


Hope you can help,

tia

DeepDark

Re: How-to-help parts and remarks in filename

Posted: 08 Sep 2017, 15:16
by rednoah
These files should work out of the box:

Code: Select all

filebot -rename *.ts --db TheTVDB -non-strict --format '{n} - {s00e00} - {t} {[fn.match(/Out.of.Sync/)]}' --q Firefly --action test

Code: Select all

Rename episodes using [TheTVDB]
Fetching episode data for [Firefly]
[TEST] From [20170908 1131 - Channel - Firefly 1x1 [Out of sync].ts] to [Firefly - S01E01 - The Train Job [Out of sync].ts]

Depending on how badly files are named, telling FileBot what to search for via --q Firefly might help. The destination path is entirely defined by your custom format, so you can keep bits and pieces of the original filename any way you see fit.