mirror of
https://github.com/Dangoware/dango-music-player.git
synced 2025-04-19 10:02:53 -05:00
removed broken imports
This commit is contained in:
parent
6da574e7cb
commit
2d0464a993
3 changed files with 1 additions and 9 deletions
|
@ -20,9 +20,4 @@ pub mod music_storage {
|
|||
}
|
||||
}
|
||||
|
||||
pub mod music_controller {
|
||||
pub mod config;
|
||||
pub mod controller;
|
||||
}
|
||||
|
||||
pub mod music_player;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use super::music_collection::MusicCollection;
|
||||
// Crate things
|
||||
use super::utils::{find_images, normalize, read_library, write_library};
|
||||
use crate::music_controller::config::Config;
|
||||
|
||||
// Various std things
|
||||
use std::collections::BTreeMap;
|
||||
|
|
|
@ -6,7 +6,6 @@ use super::{
|
|||
library::{self, AlbumArt, Song, Tag},
|
||||
music_collection::MusicCollection,
|
||||
};
|
||||
use crate::music_controller::config::Config;
|
||||
use crate::music_storage::db_reader::xml::reader::XmlLibrary;
|
||||
|
||||
use std::io::Read;
|
||||
|
@ -86,7 +85,6 @@ impl<'a> Playlist<'a> {
|
|||
.get_key_value(&Tag::Title)
|
||||
.unwrap()
|
||||
.1
|
||||
.to_string()
|
||||
.into(),
|
||||
),
|
||||
..Default::default()
|
||||
|
@ -149,7 +147,7 @@ fn list_to_m3u8() {
|
|||
));
|
||||
let mut a = Playlist::new();
|
||||
let c = lib.to_songs();
|
||||
let mut b = c.iter().map({ |song| song }).collect::<Vec<&Song>>();
|
||||
let mut b = c.iter().map( |song| song ).collect::<Vec<&Song>>();
|
||||
a.tracks.append(&mut b);
|
||||
a.to_m3u8()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue