abulimov / lyricstagger

Lyrics Tagger - tool to download lyrics for music files and write it into file tag
MIT License
6 stars 0 forks source link

Lyrics Tagger

[!WARNING] the project is no longer maintained.

Made to automagically fill LYRICS tag in musical files.

Scan music files, download missing lyrics and save it into tag.

As for now, this project supports downloading lyrics from http://lyrics.wikia.com or http://darklyrics.com and writing it into '.flac', '.ogg' and '.mp3' files.

Written in Python3 (3.3+), with heavy usage of Type Annotations.

Uses:

Setup

Using pip

    pip install 'git+https://github.com/abulimov/lyricstagger#egg=lyricstagger'

Usage

Show music files without lyrics

    user@machine:~$ lyricstagger report ~/Music
    No lyrics in file '/home/user/Music/Some Artist/01 - Some Track.ogg'
    No lyrics in file '/home/user/Music/Some Artist/02 - Other Track.ogg'

Download lyrics and tag music files

    user@machine:~$ lyricstagger tag ~/Music

Remove all lyrics from music files

    user@machine:~$ lyricstagger remove ~/Music

Edit lyrics in file with EDITOR

    user@machine:~$ lyricstagger edit "~/Music/Some Artist/01 - Some Track.ogg"

Print lyrics from file to stdout

    user@machine:~$ lyricstagger show "~/Music/Some Artist/01 - Some Track.ogg"
    Artist: Some Artist, Title: Some Track

    There goes lyrics

Debug

Setting environment variable DEBUG enabled debugging

Running tests

Just run

    user@machine:~$ cd lyricstagger
    user@machine:~/lyricstagger$ python -m unittest discover test -v

Contributing

Please read CONTRIBUTING.md if you wish to contribute.

License

Licensed under the MIT License.