Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 831 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 831 Bytes

subtitle renamer

dead simple python script to rename a bunch of .srt files that don't match your favourite tv show episodes' name

When subtitles are placed right next to video and matches video's name mpv can attach it automatically on the fly. There's a very nice subs downloading script for mpv, but for me it doesn't work sometimes, so i found myself downloading zips manually and wrote this script to avoid boring renaming by hand.

only requires python3

usage

python3 renamer.py path/to/videos path/to/subtitles

test

python3 renamer_test.py -v

Warning! By default all files in subtitles folder will be renamed AND moved permanently to episodes' folder. So make a backup if you need originals.