seasonme

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

Usage no npm install needed!

<script type="module">
  import seasonme from 'https://cdn.skypack.dev/seasonme';
</script>

README

seasonme

A tool to organize your TV show files naming and make sure that the subtitle's 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.blueray.mkv
│   The.Office.US.S01e2.blueray.mkv
│   The.Office.US.S01e3.blueray.mkv
│   The.Office.US.S01e4.blueray.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.BlueRay.mkv
│   The.Office.US.S01E1.BlueRay.srt
│   The.Office.US.S01E2.BlueRay.mkv
│   The.Office.US.S01E2.BlueRay.srt
│   The.Office.US.S01E3.BlueRay.mkv
│   The.Office.US.S01E3.BlueRay.srt
│   The.Office.US.S01E4.BlueRay.mkv
│   The.Office.US.S01E4.BlueRay.srt

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

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