#metadata #parser #utility #library #command-line-tool #cli

yanked song_parse

A rust library for parsing song metadata from filenames

0.0.91 Apr 2, 2023
0.0.10 Apr 2, 2023
0.0.9 Apr 2, 2023

#319 in #library

Download history 9/week @ 2024-02-23 6/week @ 2024-03-01 2/week @ 2024-03-15 42/week @ 2024-03-22 27/week @ 2024-03-29

71 downloads per month

MIT license

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

~3.5–5.5MB
~101K SLoC