Module includes re-org
This commit is contained in:
@@ -135,12 +135,12 @@ pub mod coverart {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub mod metadata {
|
pub mod metadata {
|
||||||
// TODO: Move this at the end after the non-std crates
|
|
||||||
use crate::types;
|
|
||||||
use lofty::file::AudioFile;
|
use lofty::file::AudioFile;
|
||||||
use lofty::tag::Accessor;
|
use lofty::tag::Accessor;
|
||||||
use lofty::tag::TagExt;
|
use lofty::tag::TagExt;
|
||||||
|
|
||||||
|
use crate::types;
|
||||||
|
|
||||||
pub fn get_meta(t: types::Type, filepath: &String) -> Result<String, std::io::Error> {
|
pub fn get_meta(t: types::Type, filepath: &String) -> Result<String, std::io::Error> {
|
||||||
match std::fs::File::open(filepath) {
|
match std::fs::File::open(filepath) {
|
||||||
Ok(mut content) => {
|
Ok(mut content) => {
|
||||||
|
Reference in New Issue
Block a user