Keep filename

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
znerken
Posts: 30
Joined: 15 Feb 2018, 23:26

Keep filename

Post by znerken »

Is it possible to avoid renaming of the movie/show file? Renaming of the folder is okay, but renaming for example the MKV I would be preferred if could be skipped. That way Plex can find subtitles more easy.


I use the utorrent-postprocess.pyw script.

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

Re: Keep filename

Post by rednoah »

If you're using {plex} then properly naming the files AND folders is highly recommended:
https://support.plex.tv/articles/200381 ... vie-files/

If you wish to ignore the Plex naming scheme, than you can of course do that, by using a custom format that preserves the current filename:
https://www.filebot.net/naming.html

e.g.

Code: Select all

{plex.dir}/{fn}
:idea: Please read the FAQ and How to Request Help.
znerken
Posts: 30
Joined: 15 Feb 2018, 23:26

Re: Keep filename

Post by znerken »

Thank you for the answer. Could I ask where in that specific python file I should place

Code: Select all

{plex.dir}/{fn}

and also, where in my manual bat script

Code: Select all

filebot -extract -script fn:amc --output "D:/SORTED" --action duplicate -non-strict "D:/UNSORTED" --log-file amc.log --def excludeList=amc.txt 
pause

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

Re: Keep filename

Post by rednoah »

Please read the Change how files will be organized and renamed section for details and examples:
viewtopic.php?f=4&t=215

Modifying the utorrent-postprocess.pyw script to use your custom formats should be fairly straight-forward:
https://github.com/filebot/plugins/blob ... ss.pyw#L16
:idea: Please read the FAQ and How to Request Help.
Post Reply