From 9846b2a89a1f9beac96fcd4e78314434c86dfc9c Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Thu, 20 Jun 2024 17:29:23 -0400 Subject: [PATCH 1/2] Changed id field of the Song model --- src/models/song.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/song.rs b/src/models/song.rs index 7568e45..1d5d19c 100644 --- a/src/models/song.rs +++ b/src/models/song.rs @@ -7,7 +7,7 @@ use crate::constants; #[derive(Clone, Debug, Deserialize, Serialize)] pub struct Song { - #[serde(alias = "song_id")] + #[serde(alias = "id")] pub id: Option, pub title: Option, pub artist: Option, -- 2.47.3 From 56c28b6c9f1818aea6fdbab6bd5222e8c260176b Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Thu, 20 Jun 2024 17:32:07 -0400 Subject: [PATCH 2/2] Updated Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e9f2c5..c58a73a 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ icarus-dm download -u spacecadet -p stellar40 -h https://icarus.com -b 15 ### Uploading Song with metadata ```BASH -icarus-dm upload-meta -u spacecadet -p stellar40 -h https://icarus.com -s /path/of/song.mp3 -t 1 -m /path/to/metadata/config/collection.json -ca /path/to/cover/art/image.png +icarus-dm upload-meta -u spacecadet -p stellar40 -h https://icarus.com -s /path/of/song.wav -t 1 -m /path/to/metadata/config/collection.json -ca /path/to/cover/art/image.png ``` ### Uploading Song with metadata from directory -- 2.47.3