Skip to content

A tool to more quickly rename many subtitle files to match the video file.

Notifications You must be signed in to change notification settings

C4rter/subtitlerenamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Subtitle Renamer

A tool to more quickly rename many subtitle files to match the video file.

Everybody knows the issue. You get a new tv series but the video file name does not match the subtitle file name. So you have to rename the subtitles to match the video files to make your video player read the video file and the subtitle.

This tool will help you to make this task more easy.

The tool can be used without providing any parameters. It can be refined when using the parameters.

The following commands can be used:

Usage of subtitlerenamer.exe

  • -enableConfirmation Enable the confirmation before every rename. If enabled every rename needs to be confirmed by typing "y" or denied by typing "n".
  • -path The path to the folder with video and srt files. If none is specified the folder the executable resides in is used.
  • -searchWord Provide a unique word to identify the files by. E.g. 'Queens' or 'Mother'. This is helpful if you have other files in the folder.
  • -subtitleFileExtension Provide the subtitle file extension. Defaults to .srt. (default ".srt,.sub")
  • -videoFileExtension Provide the video file extension. Defaults to .mkv. (default ".mkv,.mp4")


Example call with all parameters:
subtitlerenamer.exe -path="C:/folder/subfolder/" -searchWord="Queens" -videoFileExtension=".avi,.mkv,.mp4" -subtitleFileExtension=".srt,.sub" -enableConfirmation=1

Without providing any parameters the tool matches files and can rename files like:

Example files 1:

  • This.Is.A.New.Series.S01E01.The.Pilot.AC3.WEB.XViD-CREW.mkv
  • This Is A New Series - S01E01 - The Pilot.CREW.English.C.srt

This Is A New Series - S01E01 - The Pilot.CREW.English.C.srt
will be renamed to
This.Is.A.New.Series.S01E01.The.Pilot.AC3.WEB.XViD-CREW.srt

Example files 2:

  • This.Is.A.New.Series.S01E01.The.Pilot.AC3.WEB.XViD-CREW.mkv
  • This Is A New Series - 01x01 - The Pilot.CREW.English.C.srt

This Is A New Series - 01x01 - The Pilot.CREW.English.C.srt
will be renamed to
This.Is.A.New.Series.S01E01.The.Pilot.AC3.WEB.XViD-CREW.srt

Context Menu Entry

The file "context-menu.reg" add a context menu entry. The executable needs to be put into: C:\subtitlerenamer\subtitlerenamer.exe After that, the context menu entry can be used to select a video file and start renaming the subtitle files in the current folder. Attention: At the moment, all the subtile files in the folder will be renamed not just the file. For now it's just to easier select the current working folder.

About

A tool to more quickly rename many subtitle files to match the video file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages