6 releases
0.1.5 | Aug 18, 2019 |
---|---|
0.1.4 | Jun 25, 2019 |
0.1.2 | Apr 6, 2019 |
0.1.1 | Mar 25, 2019 |
#687 in Audio
11KB
211 lines
khalzam-cli
About
CLI interface for khalzam library
Installation
Using crates.io:
$ cargo install khalzam-cli
Building
$ git clone https://github.com/kisasexypantera94/khalzam-cli
$ cd khalzam-cli
$ cargo build --release
$ ./target/release/khalzam-cli -h
khalzam-cli 0.1.0
kisasexypantera94 <green.grinya@gmail.com>
USAGE:
khalzam-cli [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
add Add song
add_dir Add songs inside directory
delete Delete song
help Prints this message or the help of the given subcommand(s)
recognize Recognize audiofile
recognize_dir Recognize songs inside directory
Setup
You need to create and initialize database:
$ sh ./setup.sh
Usage
$ user=kisasexypantera94 dbname=khalzam \ # dbname default value is `khalzam`
khalzam-cli recognize -i samples/disorderlive.mp3
Recognizing `disorderlive.mp3` ...
Best match: joydivisiondisorder
Done in 90.201716ms
Dependencies
~13–20MB
~294K SLoC