Giter Club home page Giter Club logo

lyrics2mp3's Introduction

lyrics2mp3

Parse lyrics and add them into mp3 and m4a files (via id tags). Lyrics can then be viewed on iPhone, iTunes and other players.

What script does:

  1. Scans directory recursively, or each file in playlist, for music files.
  2. Reads artist and title from music tag.
  3. Searches lyrics for each song on genius.com, azlyrics.com, lyricsgenius.com, songlyrics.com
  4. Inserts lyrics into music file if found (unless simulating).

Installation:

git clone https://github.com/spyer/lyrics2mp3.git
pip3 install -r requirements.txt

If you have trouble installing, please check if taglib library is installed (may have to compile).

Usage:

Required arguments:
  one of:
    --dir DIR               Directory to search for music files
    --m3u PATH              Playlist to search for music files

Optional arguments:
  --genius_token TOKEN      API token for genius.com music database. Without this token Genius will not be used. Sign up for token at https://genius.com/api-clients
  --write_on_not_found      Write '...' on files with no lyrics found
  --overwrite               Overwrite existing lyrics
  --ignore_artist           Ignore files' artists, look at song name only 
  --simulate, -s            Simulate retrieval but change no files
  --verbose, -v             Level of debug info to display
  --help                    Show all arguments

lyrics2mp3's People

Contributors

taynaron avatar spyer avatar

Stargazers

Dustin Smith avatar  avatar  avatar showstone avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

taynaron

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.