Skip to content

A tool to organize/handle renaming TV show files. Keep the srt file name consistent with the video file name.

License

Notifications You must be signed in to change notification settings

edwardfxiao/seasonme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seasonme

A tool to organize your TV show files naming and make sure that the subtitle file matches with the video file in the folder.

For instanse, inside The.Office.US.S01 folder you have The.Office.US.S01e1.mkv, but a the office 1x1.srt was downloaded, and now you can just run seasonme format, it will set the files to The.Office.US.S01S01.mkv,The.Office.US.S01S01.srt respectively.

In order to make it work properly, make sure that the season and episode info are correctly since the key in this tool is to match the season number and the episode number.

npm install seasonme -g
~$ cd ../The.Office.US.S01
~$ seasonme format

or

~$ seasonme format -d MY_FOLDER_PATH
The.Office.US.S01
│
│   The.Office.US.S01e1.bluray.mkv
│   The.Office.US.S01e2.bluray.mkv
│   The.Office.US.S01e3.bluray.mkv
│   The.Office.US.S01e4.bluray.mkv
│   the office 1x1.srt
│   the office 1x2.srt
│   the office 1x3.srt
│   the office 1x4.srt

The.Office.US.S01
│
│   The.Office.US.S01E1.BluRay.mkv
│   The.Office.US.S01E1.BluRay.srt
│   The.Office.US.S01E2.BluRay.mkv
│   The.Office.US.S01E2.BluRay.srt
│   The.Office.US.S01E3.BluRay.mkv
│   The.Office.US.S01E3.BluRay.srt
│   The.Office.US.S01E4.BluRay.mkv
│   The.Office.US.S01E4.BluRay.srt

For testing you can run as below, which gives you 10 random examples

~$ mkdir dummy
~$ cd dummy
~$ seasonme generate -n 10