Code Monkey home page Code Monkey logo

nyaasort's People

Contributors

hungry-dolphin avatar piyush-kumar-behera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nyaasort's Issues

Make the logging option a command line argument

Right now the script will ask you if you want logging enabled or not, It would be nice if you could give it a flag or an option so the script knows if you want to enable it or not,

This makes it cleaner to run the application from the command line, and helps with integration testing aswell since you won't have to tell it you want to enable logging every time

Error moving episodes to a newly created folder in a backup location

When the script creates a new folder for a show in both the primary and the backup directory a bug occurs. The script will succesfully move the episode to the pirmary folder. It will however not copy this file to the backup location even when a folder for the show does get created.

To replicate this bug:

  • Have multiple episodes from a show for which no folder exists in the main and backup directory
  • Run the script

You will now see al episodes present in the main directory in a newly created folder. However in the backup Directory the first episode will be missing while the rest of the episodes will be present in this newly created folder.

Making windows folder icon creation more consistent

Right now the function to automatically set windows folder icons only works 50% of the time, It would be nice if somebody with a bit more powershell knowlegde could take a look at this and explain what needs to be changed

Expanding unit tests

Right now only parts of the code are being tested in the unit tests, this could lead to uncaught bugs in future code.

This Issue is dedicated to any pull requests which expand on the unit tests.

Add the possibility to run this script from a different directory

Right now the script just sorts the current directory it is located in,
It would be a good idea to add the possiblity of sorting from a different directory.
This way you can store the script somewhere else.

This should be straightforward to implement, The directory to sort can be stored in the config file it creates.
the Init already takes a directory it should sort.
So what needs to be done is ask if the user wants to sort a different directory than the current one, and if so which directory he would like to sort.
Preferrably this directory could also be given to the script by a flag, so running it from a CLI is cleaner.

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.