Upload song (#58)
* Queue song (#57) * Added code to queue song * Making functions async * Able to queue song * Cleanup * Link user to queued song (#59) * Renaming queue_song function * Queued song linked to user * Cleanup and code formatting * Queue metadata (#60) * Added code to queue metadata * Code formatting * Queue coverart (#61) * Added queued coverart code * Code formatting and cleanup * Link queued coverart to queued song (#62) * Added code to link queued coverart to queued song * Code formatting * Update queued song status (#63) * Added function call to update queued song status * Added skeleton method * Added more code to the method * Got it working * Code formatting * Multi upload (#64) * Added comments * Added TODO * Got it working * Updated documentation * Version bump * Code formatting and cleanup
This commit was merged in pull request #58.
This commit is contained in:
+3
-2
@@ -7,7 +7,8 @@ mod utilities;
|
||||
|
||||
use std::env;
|
||||
|
||||
fn main() {
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let args: Vec<String> = env::args().collect();
|
||||
let args_len = args.len() as i32;
|
||||
|
||||
@@ -29,7 +30,7 @@ fn main() {
|
||||
ica_action: chosen_act,
|
||||
};
|
||||
|
||||
cmt_mgr.commit_action();
|
||||
cmt_mgr.commit_action().await;
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user