Refactoring (#30)
All checks were successful
Release Tagging / release (push) Successful in 31s
Rust Build / Check (push) Successful in 26s
Rust Build / Test Suite (push) Successful in 27s
Rust Build / Rustfmt (push) Successful in 24s
Rust Build / Clippy (push) Successful in 26s
Rust Build / build (push) Successful in 30s
Rust Build / Check (pull_request) Successful in 27s
Rust Build / Test Suite (pull_request) Successful in 29s
Rust Build / Rustfmt (pull_request) Successful in 25s
Rust Build / Clippy (pull_request) Successful in 27s
Rust Build / build (pull_request) Successful in 33s
All checks were successful
Release Tagging / release (push) Successful in 31s
Rust Build / Check (push) Successful in 26s
Rust Build / Test Suite (push) Successful in 27s
Rust Build / Rustfmt (push) Successful in 24s
Rust Build / Clippy (push) Successful in 26s
Rust Build / build (push) Successful in 30s
Rust Build / Check (pull_request) Successful in 27s
Rust Build / Test Suite (pull_request) Successful in 29s
Rust Build / Rustfmt (pull_request) Successful in 25s
Rust Build / Clippy (pull_request) Successful in 27s
Rust Build / build (pull_request) Successful in 33s
Reviewed-on: #30 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -135,12 +135,12 @@ pub mod coverart {
|
||||
}
|
||||
|
||||
pub mod metadata {
|
||||
// TODO: Move this at the end after the non-std crates
|
||||
use crate::types;
|
||||
use lofty::file::AudioFile;
|
||||
use lofty::tag::Accessor;
|
||||
use lofty::tag::TagExt;
|
||||
|
||||
use crate::types;
|
||||
|
||||
pub fn get_meta(t: types::Type, filepath: &String) -> Result<String, std::io::Error> {
|
||||
match std::fs::File::open(filepath) {
|
||||
Ok(mut content) => {
|
||||
|
Reference in New Issue
Block a user