A tool to sync music with your favorite devices
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

*: s/tunesdirector/tracksyng/g

better name right?

Gee Sawra 21fa3fbd 177ed077

+9 -9
+1 -1
Cargo.lock
··· 2453 2453 ] 2454 2454 2455 2455 [[package]] 2456 - name = "tunesdirector" 2456 + name = "tracksync" 2457 2457 version = "0.1.0" 2458 2458 dependencies = [ 2459 2459 "anyhow",
+1 -1
Cargo.toml
··· 1 1 [package] 2 - name = "tunesdirector" 2 + name = "tracksync" 3 3 version = "0.1.0" 4 4 edition = "2021" 5 5
+2 -2
src/cmd/add.rs
··· 10 10 11 11 #[derive(ClapArgs, Debug)] 12 12 pub struct Args { 13 - /// Directory in which tunesdirector will store its local database. 13 + /// Directory in which tracksync will store its local database. 14 14 #[arg(short, long, default_value_t = db::default_database_dir().to_str().unwrap().to_owned())] 15 15 pub database_path: String, 16 16 17 - /// A path in which tunesdirector will look for music files. 17 + /// A path in which tracksync will look for music files. 18 18 /// Specify more than one for multiple sources. 19 19 #[arg(short, long = "source", value_name = "SOURCE", action = clap::ArgAction::Append)] 20 20 pub sources: Option<Vec<String>>,
+1 -1
src/cmd/dupes.rs
··· 5 5 6 6 #[derive(ClapArgs, Debug)] 7 7 pub struct Args { 8 - /// Directory in which tunesdirector will store its local database. 8 + /// Directory in which tracksync will store its local database. 9 9 #[arg(short, long, default_value_t = db::default_database_dir().to_str().unwrap().to_owned())] 10 10 pub database_path: String, 11 11 }
+1 -1
src/cmd/filter.rs
··· 6 6 7 7 #[derive(ClapArgs)] 8 8 pub struct Args { 9 - /// Path where to store tunesdirector's database, as well as music files. 9 + /// Path where to store tracksync's database, as well as music files. 10 10 #[arg(long)] 11 11 pub destination: Option<String>, 12 12
+2 -2
src/cmd/sync.rs
··· 12 12 13 13 #[derive(ClapArgs)] 14 14 pub struct Args { 15 - /// Path where to look for tunesdirector source data. 15 + /// Path where to look for tracksync source data. 16 16 #[arg(short, long, default_value_t = db::default_database_dir().to_str().unwrap().to_owned())] 17 17 pub database_path: String, 18 18 19 - /// Path where to store tunesdirector's database, as well as music files. 19 + /// Path where to store tracksync's database, as well as music files. 20 20 #[arg(long)] 21 21 pub destination: Option<String>, 22 22
+1 -1
src/db/instance.rs
··· 6 6 7 7 static MIGRATOR: Migrator = sqlx::migrate!("database/migrations/local"); 8 8 9 - static DATABASE_DEFAULT_NAME: &str = "tunesdirector.db"; 9 + static DATABASE_DEFAULT_NAME: &str = "tracksync.db"; 10 10 11 11 pub struct Instance { 12 12 pool: SqlitePool,