Update README, fix Cargo.toml for client, add bin/, add setup.sh

This commit is contained in:
Mark
2024-01-10 16:25:00 +01:00
parent 6f9535a28e
commit 404e9ce8ed
8 changed files with 131 additions and 77 deletions

View File

@@ -1,5 +1,5 @@
use std::{
collections::{HashMap, HashSet},
collections::HashMap,
fs,
io::Write,
path::{Path, PathBuf},
@@ -89,7 +89,7 @@ fn main() {
}
}
eprintln!("\nloaded metadata of {} files.", songs.len());
let mut database = Database::new_empty(PathBuf::from("dbfile"), PathBuf::from(&lib_dir));
let mut database = Database::new_empty_in_dir(PathBuf::from("."), PathBuf::from(&lib_dir));
let unknown_artist = database.add_artist_new(Artist {
id: 0,
name: format!("<unknown>"),