GithubHelp home page GithubHelp logo

edwardfxiao / seasonme Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9.78 MB

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

License: MIT License

JavaScript 100.00%
tv-shows renaming renaming-files subtitles cc mkv videos file-name seasons episodes format formatter organizer

seasonme's Introduction

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

seasonme's People

Contributors

edwardfxiao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.