Crates.io | song_parse |
lib.rs | song_parse |
version | 0.0.10 |
source | src |
created_at | 2023-04-02 10:20:10.058094 |
updated_at | 2023-04-02 10:36:32.629191 |
description | A rust library for parsing song metadata from filenames. |
homepage | https://docs.rs/song_parse/ |
repository | https://github.com/tairenfd/song_parse |
max_upload_size | |
id | 827955 |
size | 48,130 |
** CURRENTLY IN VERY EARLY DEVELOPMENT STAGES, SOME MAJOR FEATURES HAVE YET TO BE IMPLEMENTED **
A rust library for parsing song metadata from filenames.
The below options will install the song_parse
library
$ cargo add song_parse
Cargo.toml
:[dependencies]
song_parse = "0.0.10"
To install the CLI bin song_parse
use:
$ cargo install song_parse
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
This project is licensed under the terms of the MIT license.