Renaming subtitles

Support for Windows users
Post Reply
cyberlakrits
Posts: 2
Joined: 20 Apr 2020, 02:27

Renaming subtitles

Post by cyberlakrits »

Sometimes I download subtitles manually from subscene.com in the form of a zipfile.
And sometimes the subtitles that comes with a downloaded movie is in a subfolder called ./Subs/

Is there a way to make filebot (via command line) get the .srt and .sub files from the zipfile (or subfolder) and rename the subtitles according to the name of the movie in the parent directory?

Note that I don't want to rename the videofile at all, since I want to keep seeding, just renaming the subtitles. I guess what I want is for the suball script to be able to find the subtitles in a local folder. I don't think I want to run the amc scrip, since I don't want to rename the videos and folders at all.
User avatar
rednoah
The Source
Posts: 22990
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Renaming subtitles

Post by rednoah »

1.
Yes, Plain File Mode can be used to rename any file in an arbitrary way defined by your custom format:
viewtopic.php?t=2072

:idea: You can use --file-filter f.subtitle to only select subtitle files.


2.
Extraction of ZIP archives would be a separate pre-processing step that can be automated with -extract just as well, but naturally is not integrated into -rename calls:
https://www.filebot.net/cli.html
:idea: Please read the FAQ and How to Request Help.
cyberlakrits
Posts: 2
Joined: 20 Apr 2020, 02:27

Re: Renaming subtitles

Post by cyberlakrits »

Thanks. I'll get right to it. :)
Post Reply