Skip to content

ElliotCHEN37/MxMDL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MxMDL

Usage

usage: main.py [-h] [-g] [-k TOKEN] [-a ARTIST] [-t TITLE] [-l ALBUM] [--lrctype {synced,unsynced}] [--output_type {lrc,srt}] [filepath]

MxMDL v1.3.2 by ElliotCHEN37. Download synced lyrics from Musixmatch freely!

positional arguments:
  filepath              Path to an audio file

optional arguments:
  -h, --help            show this help message and exit
  -g, --get_token       Retrieve a new Musixmatch API token
  -k TOKEN, --token TOKEN
                        Musixmatch API token
  -a ARTIST, --artist ARTIST
                        Artist name
  -t TITLE, --title TITLE
                        Track title
  -l ALBUM, --album ALBUM
                        Album name (optional)
  --lrctype {synced,unsynced}
                        Lyrics type (default: synced)
  --output_type {lrc,srt}
                        Output file format (default: lrc)

Changelog

v1.3.2

OPT:
1. Refactor code with ChatGPT
2. Using logging instead of print
3. Using "apic"

v1.3.1

FIX:
1. LRC file timing

v1.3

NEW:
1. Using "♪ Instrumental ♪" for instrumental songs
2. Output type
3. Save lyrics as SRT file
OPT:
1. Adjust arguments

v1.2

NEW:
1. Add support for direct file input.
FIX:
1. Error when downloading Instrumental songs.

v1.1

FIX:
1. Obtain token multiple times.
NEW:
1. Use --chlog to view changelog.
OPT:
1. Adjust code structure.

v1.0

Initial Release

Build

Open your terminal and run the following commands

Clone

cd <somewhere>
git clone https://github.com/ElliotCHEN37/MxMDL.git
cd MxmDL/Source

Build

pip install -r requirements.txt
pip install pyinstaller
pyinstaller build_<sys>.spec

Replace <sys> with your os

License

The MIT License