Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c2f35ff0a | |||
| 2aa0e5a1e8 | |||
| 1b0af636df |
@@ -1,5 +1,9 @@
|
||||
# (XMPD) Xor64 Music Player/Downloader
|
||||
|
||||
|
||||
# **NOTE** This readme has outdated info, and needs to be updated
|
||||
|
||||
|
||||
An open source music downloader AND player (soon (TM))
|
||||
|
||||
## Design
|
||||
|
||||
@@ -55,7 +55,9 @@ impl Cache {
|
||||
}
|
||||
}
|
||||
}
|
||||
anyhow::bail!("Tool {} was not found", tool_path)
|
||||
// anyhow::bail!("Tool {} was not found", tool_path)
|
||||
log::error!("Tool {tool_path:?} doesnt exist!");
|
||||
Ok(())
|
||||
}
|
||||
pub fn init(&mut self) -> Result<Receiver<Message>> {
|
||||
// Check for missing tooling
|
||||
|
||||
@@ -25,7 +25,7 @@ impl CompUi for SongList {
|
||||
let mut sl = SongList::get()?;
|
||||
sl.playable_songs = Self::get_playable_songs(&songs)?;
|
||||
if let Some((sid, _)) = songs.first() {
|
||||
if sl.selected_sid == Default::default() {
|
||||
if sl.selected_sid.eq(&uuid::Uuid::default()) {
|
||||
sl.selected_sid = (*sid).clone();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,8 +99,8 @@ impl Window for NewSongW {
|
||||
ui.horizontal(|ui| {
|
||||
ui.add_space(3.0);
|
||||
if ui.button("Close").clicked() {
|
||||
self.author = String::from("New Song");
|
||||
self.name = String::from("Unknown");
|
||||
self.author = String::from("Unknown");
|
||||
self.name = String::from("New Song");
|
||||
self.source_t = SourceType::Youtube;
|
||||
self.source_url = String::default();
|
||||
state.windows.toggle(&WindowId::NewSong, false);
|
||||
@@ -112,15 +112,15 @@ impl Window for NewSongW {
|
||||
s.set_author(&self.author);
|
||||
state.manifest.store_mut().get_songs_mut().insert(uuid::Uuid::new_v4(), s);
|
||||
|
||||
self.author = String::from("New Song");
|
||||
self.name = String::from("Unknown");
|
||||
self.author = String::from("Unknown");
|
||||
self.name = String::from("New Song");
|
||||
self.source_t = SourceType::Youtube;
|
||||
self.source_url = String::default();
|
||||
}
|
||||
|
||||
if ui.button("Cancel").clicked() {
|
||||
self.author = String::from("New Song");
|
||||
self.name = String::from("Unknown");
|
||||
self.author = String::from("Unknown");
|
||||
self.name = String::from("New Song");
|
||||
self.source_t = SourceType::Youtube;
|
||||
self.source_url = String::default();
|
||||
state.windows.toggle(&WindowId::NewSong, false);
|
||||
|
||||
Reference in New Issue
Block a user