0.0.91 |
|
---|---|
0.0.10 |
|
0.0.9 |
|
#316 in #library
29 downloads per month
39KB
405 lines
song_parse 0.0.91
** CURRENTLY IN VERY EARLY DEVELOPMENT STAGES, SOME MAJOR FEATURES HAVE YET TO BE IMPLEMENTED **
A rust library for parsing song metadata from filenames.
Installation
The below options will install the song_parse
library
- Run the below command within your project directory:
$ cargo add song_parse
- Add this to your
Cargo.toml
:
[dependencies]
song_parse = "0.0.91"
To install the CLI bin song_parse
use:
$ cargo install song_parse
Example
use song_parse::{Extractor, TextWrapper};
let file = "Lady Gaga, Ariana Grande - Rain On Me (Official Music Video) [AOm9Fv8NTG0].mp3";
let extraction = Extractor::All.new(file);
TextWrapper(extraction).print();
// Artist: Lady Gaga, Ariana Grande
// Title: Rain On Me
// Features: None
// Misc: Official Music Video
// YoutubeID: AOm9Fv8NTG0
Author
License
This project is licensed under the terms of the MIT license.
Dependencies
~5.5–7.5MB
~139K SLoC