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.
Rename TV Series Folder / Use Custom Series Name instead of Database Series Name
Re: Rename TV Series Folder
Yes, FileBot can move files into a new file and folder structure, according to your custom format:
https://www.filebot.net/naming.html

Please read FAQ #1 and learn how format expressions work.
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.
https://www.filebot.net/naming.html



Re: Rename TV Series Folder
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 viathe 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 viaBut 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.
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}
Now I can of course set this manually via
Code: Select all
filebot --format "/Star Trek - Discovery [DSC]/{s}/{e}
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.
Re: Rename TV Series Folder
Yes, you can do custom replacements:
You can maintain a lookup table with mappings via an external text file. Please read [SNIPPET] Override / Hardcode Series Names
for details.
Code: Select all
{ n.replace('Star Trek: Discovery' : 'Star Trek - Discovery [DSC]') }

for details.
Re: Rename TV Series Folder / Use Custom Series Name instead of Database Series Name
Very nice. Thank you very much, this is exactly how it can be done!