Coder Social home page Coder Social logo

music_filtering's Introduction

Music filtering application

As I usually tend to have several playlists of music depending on the context (music for workout, commuting, family trip, etc.), I have create a simple CLI application to create playlist from a json file.

Considerations

  • Main music folder must be called: Music
  • Songs must be locally stored
  • Song name's must follow this format: Band - Song
  • Format of the song is not important: mp3, wma ...

Generate a template json

As it may be tedious to write a json for all the songs, there exists the possibility of creating one automatically by using the following command:

./music_filter -t

Or

./music_filter --template

Automatically, it scans Music folder and creates a file called All_Music.json with the appropriate format.

Generate a playlist from a json file

It requires to have a json file properly formatted. The field playlist in json file determines the name of the new folder that is going to be created by this app.

Shortcuts

  • * : To select every single song of a band. Instead of writing all the list of songs this symbol can be used
  • ~ : Not to select any song of a band

Example of use

music_filter -c workout_music.json

or

music_filter --config=workout_music.json

music_filtering's People

Contributors

jaumefe 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.