Rename TV Series Folder / Use Custom Series Name instead of Database Series Name

Any questions? Need some help?
Post Reply
Crys
Posts: 5
Joined: 06 Jun 2018, 08:57

Rename TV Series Folder / Use Custom Series Name instead of Database Series Name

Post by Crys »

Hello all

I have a couple of TV series that I want to give a different folder name than in iMDB/TMDB.

For example, instead of:
Star Trek Discovery/Season/Episode.mkv
Star Trek - Discovery [DSC]/Season/Episode.mkv

Is it possible to have that always output automatically and move the files, with for example:
filebot --format "/{n}/{s}/{e}"

I am using filebot v4.9.6 on Ubuntu via CLI.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename TV Series Folder

Post by rednoah »

Yes, FileBot can move files into a new file and folder structure, according to your custom format:
https://www.filebot.net/naming.html


Image


:idea: Please read FAQ #1 and learn how format expressions work.


:idea: I'd use the {plex} format and then just keep it like that. Inserting a - dash somewhere in the series name will make things significantly more complicated so I'd just not do that, especially if you're not yet familiar with complex custom formats.
:idea: Please read the FAQ and How to Request Help.
Crys
Posts: 5
Joined: 06 Jun 2018, 08:57

Re: Rename TV Series Folder

Post by Crys »

Thanks for the answer ... but this is not my problem.
I know how to rename files and move them to folders via filebot.

Sorry if I have expressed myself in a misleading way:

The example from above even more detailed:
I have the TV series "Star Trek Discovery", if I move it via

Code: Select all

filebot --format "/{n}/{s}/{e}
the name "Star Trek Discovery" is taken via {n} attribute. But I don't want that! I want to have "Star Trek - Discovery [DSC]"! (as described above).
Now I can of course set this manually via

Code: Select all

filebot --format "/Star Trek - Discovery [DSC]/{s}/{e}
But if there is another episode of a series in between, it also ends up in the same (wrong) folder. So no solution either.

Is there a way that I can specify TV series "Star Trek Discovery" should always be renamed to "Star Trek - Discovery [DSC]"?
Some kind of table, database ... if, then ...
There are of course many more series that should similarly have a different name with me than it is loaded by filebot from iMDB/TMDB.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename TV Series Folder

Post by rednoah »

Yes, you can do custom replacements:

Code: Select all

{ n.replace('Star Trek: Discovery' : 'Star Trek - Discovery [DSC]') }

:arrow: You can maintain a lookup table with mappings via an external text file. Please read [SNIPPET] Override / Hardcode Series Names
for details.
:idea: Please read the FAQ and How to Request Help.
Crys
Posts: 5
Joined: 06 Jun 2018, 08:57

Re: Rename TV Series Folder / Use Custom Series Name instead of Database Series Name

Post by Crys »

Very nice. Thank you very much, this is exactly how it can be done!
Post Reply