Giter Site home page Giter Site logo

crazyoldwizard / tv-show-sorter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 68 KB

Sorts TV shows into folders based on name and season number

License: MIT License

C# 100.00%
plex plex-media-server media-server file-sorting tv-shows tv-series kodi media-library season-number sorter plex-library

tv-show-sorter's Introduction

TV Show Sorter

This is a c# program that will create a folder structure based off of the name of the show, then the season number.

Installation

Usage

This tool would sort the following episodes in the root directory... (*This also will sort folders if named in the same format)

└───TV_Shows
        Breaking Bad s01e01.mkv
        Breaking Bad s01e02.mkv
        Breaking Bad s01e03.mkv
        Breaking Bad s02e01.mkv
        Breaking Bad s02e02.mkv
        Breaking Bad s02e03.mkv

and create a folder structure like the example below.

└───TV_Shows
    └───Breaking Bad
        ├───Season 01
        │       Breaking Bad s01e01.mkv
        │       Breaking Bad s01e02.mkv
        │       Breaking Bad s01e03.mkv
        │
        └───Season 02
                Breaking Bad s02e01.mkv
                Breaking Bad s02e02.mkv
                Breaking Bad s02e03.mkv

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

tv-show-sorter's People

Contributors

crazyoldwizard avatar

Stargazers

 avatar

Watchers

 avatar

tv-show-sorter's Issues

Support for subtitle formats

Would it be possible to add support for subtitlefile sorting?

If i for example have a folder containing Show.S01E01.mkv and Show.S01E01.srt i would like both the mkv and the srt to be sorted into Show/Season 01/files.

Another nice feature to pair with this would be to rename the subtitle file to match the .mkv filename.

Support for folders?

I would like to see support for folders instead of only filenames.
Maybe the config file could contain a setting to use folder or files?

Example:

Breaking.Bad.S01E01.HDTV.x264-somegroup
Breaking.Bad.S01E02.HDTV.x264-somegroup
Breaking.Bad.S01E03.HDTV.x264-somegroup

^ Those are folders and would be sorted in the same way as the files are being sorted now.

Breaking Bad/Season 01/Breaking.Bad.S01E01.HDTV.x264-somegroup
Breaking Bad/Season 01/Breaking.Bad.S01E02.HDTV.x264-somegroup
Breaking Bad/Season 01/Breaking.Bad.S01E03.HDTV.x264-somegroup

Periods in names

Need to add logic for file names with a "." (period) in the file name.

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.