Git Product home page Git Product logo

mxlrc-go's Introduction

MxLRC

build

Command line tool to fetch synced lyrics from Musixmatch and save it as *.lrc file.


Python version

Check it here


Download

Standalone binary

TBA

Build from source

Required Go 1.17+

go install github.com/fashni/mxlrc-go@latest

Usage

Usage: mxlrc-go [--outdir OUTDIR] [--cooldown COOLDOWN] [--token TOKEN] SONG [SONG ...]

Positional arguments:
  SONG                        song information in [ artist,title ] format (required)

Options:
  --outdir OUTDIR, -o OUTDIR  output directory [default: lyrics]
  --cooldown COOLDOWN, -c COOLDOWN
                              cooldown time in seconds [default: 15]
  --depth DEPTH, -d DEPTH     (directory mode) maximum recursion depth [default: 100]
  --update, -u                (directory mode) update existing lyrics file
  --bfs                       (directory mode) use breatdth-first-search traversal
  --token TOKEN, -t TOKEN     musixmatch token
  --help, -h                  display this help and exit

Example:

One song

mxlrc-go adele,hello

Multiple song and custom output directory

mxlrc-go adele,hello "the killers,mr. brightside" -o some_directory

With a text file and custom cooldown time

mxlrc-go example_input.txt -c 20

Directory Mode (recursive)

mxlrc-go "Dream Theater"

This option overrides the -o/--outdir argument which means the lyrics will be saved in the same directory as the given input.

The -d/--depth argument limit the depth of subdirectory to scan. Use -d 0 or --depth 0 to only scan the specified directory.


How to get the Musixmatch Token

Follow steps 1 to 5 from the guide here to get a new Musixmatch token.

Credits

mxlrc-go's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mxlrc-go's Issues

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.