Giter VIP home page Giter VIP logo

music-utils's Introduction

example workflow

Dependencies

id3v2 metaflac cdparanoia

Installation

npm ci && npm run build

Features

Music Utils provides 5 scripts:

  • cdrip.sh
  • cover.photo.sh
  • tag.album.sh
  • tag.tracks.sh
  • glyrc.cover.photo.sh

Bind them to your .bashrc file by

    source /path/to/music-utils/scripts/index.sh

Index.sh also creates an alias for bulk fetching cover photos with glyrc.

cdrip

Usage

Music/Artist $> music-utils-cdrip Album\ Name

Creates a folder 'Album Name' from your current position (pwd), rips the cd in your cd-drive (with help from cdparanoia), converts all wav-files to flac-files wav2flac and setting tags "Album" and "Artist" according to values in current path

cover.photo

Usage

Music/Artist/2020 Album $> music-utils-cover-photo

Parse your current position (pwd) to extract artist and album information. Then, with help from sacad, searches the Internet for matching cover photos and places the resulting image in a 'cover.jpg' file

tag-album

Usage

Music/Artist/YYYY Album $> music-utils-tag-album
Music/Artist $> music-utils-tag-album -a YYYY Album
Music/Artist $> music-utils-tag-album --album YYYY Album

Parse your current position (pwd) to extract artist and album information. Then, for each file in current directory, extracts information either from flac, mp3 or file path, structurize these, rewrites tags and renames folder to match with standardized structure as follows:

  • Artist/YYYY Album name
  • Artist/YYYY Album name [extended info]
  • Artist/YYYY Album name (Disc 1โˆ•2)

tag-tracks

Usage

Music/Artist/2020 Album $> tag-tracks.sh -f /path/to/tracks.txt

As tag-album but fetches tracks info from provided tracks.txt file

Find similarities among music folders

If your catalog consist of ie

| - A
    | - A Band
| - B
    | - Band, A

where A Band is actually the same band as Band, A , similarities script will output as a table

Usage

/>  ./scripts/similarities.sh -A /path/to/origin/ -B /path/to/comparator/ -T 0.5  -Q > output.table

Where

  • -A is base directory
  • -B is comparing directory
  • -T is threshold of equality
  • -Q to quiet

music-utils's People

Contributors

hansogj avatar snyk-bot avatar

Watchers

 avatar James Cloos avatar  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.