song_parse

Crates.iosong_parse
lib.rssong_parse
version0.0.10
sourcesrc
created_at2023-04-02 10:20:10.058094
updated_at2023-04-02 10:36:32.629191
descriptionA rust library for parsing song metadata from filenames.
homepagehttps://docs.rs/song_parse/
repositoryhttps://github.com/tairenfd/song_parse
max_upload_size
id827955
size48,130
turn (t-fbd)

documentation

https://docs.rs/song_parse/0.0.10/song_parse/

README

song_parse 0.0.10

** 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.10"

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.

Commit count: 0

cargo fmt