diff --git a/.github/workflows/idm.yml b/.github/workflows/idm.yml index 63abf4a..0998ed9 100644 --- a/.github/workflows/idm.yml +++ b/.github/workflows/idm.yml @@ -1,4 +1,4 @@ -name: Rust +name: sidm on: push: diff --git a/Cargo.lock b/Cargo.lock index 1ca8a26..9b2734c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -586,20 +586,6 @@ dependencies = [ "zerovec", ] -[[package]] -name = "idm" -version = "0.10.1" -dependencies = [ - "http", - "icarus_models", - "reqwest", - "serde", - "serde_json", - "tokio", - "tokio-util", - "uuid", -] - [[package]] name = "idna" version = "1.1.0" @@ -1322,6 +1308,20 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" +[[package]] +name = "sidm" +version = "0.10.1" +dependencies = [ + "http", + "icarus_models", + "reqwest", + "serde", + "serde_json", + "tokio", + "tokio-util", + "uuid", +] + [[package]] name = "signal-hook-registry" version = "1.4.8" diff --git a/Cargo.toml b/Cargo.toml index 935cb5a..01eb500 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "idm" +name = "sidm" version = "0.10.1" rust-version = "1.95" edition = "2024" diff --git a/README.md b/README.md index 44b2977..fe57693 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# idm +# sidm -idm (IcarusDownloadManager) is a CLI software client application that has the feature of uploading and downloading songs from the [icarus](https://git.kundeng.us/phoenix/icarus) Music Server. +sidm (SoarIcarusDownloadManager) is a CLI software client application that has the feature of uploading and downloading songs from the [soaricarus_api](https://git.kundeng.us/phoenix/soaricarus_api) Music Server. @@ -9,14 +9,14 @@ idm (IcarusDownloadManager) is a CLI software client application that has the fe Clone the repo ```BASH -git clone git@git.kundeng.us:phoenix/idm.git +git clone git@git.kundeng.us:phoenix/sidm.git ``` Build the project: ```BASH -cd idm +cd sidm cargo build ``` @@ -24,31 +24,31 @@ cargo build ### Downloading Song ```BASH -idm download -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -b e8407fc6-edd2-44c1-993f-08dd7324d91a +sidm download -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -b e8407fc6-edd2-44c1-993f-08dd7324d91a ``` ### Uploading Song with metadata ```BASH -idm upload-meta -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -s /path/of/song.flac -t 1 -m /path/to/metadata/config/collection.json -ca /path/to/cover/art/image.png +sidm upload-meta -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -s /path/of/song.flac -t 1 -m /path/to/metadata/config/collection.json -ca /path/to/cover/art/image.png ``` ### Uploading Song with metadata from directory ```BASH -idm upload-meta -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -smca /path/where/songs/and/metadata/exists/ +sidm upload-meta -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -smca /path/where/songs/and/metadata/exists/ ``` ### Retrieving Song in json ```Bash -idm retrieve -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -rt songs +sidm retrieve -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -rt songs ``` ### Deleting Song ```BASH -idm delete -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -D e8407fc6-edd2-44c1-993f-08dd7324d91a +sidm delete -u spacecadet -p stellar40 -h https://icarus.com -ha https://auth.icarus.com -D e8407fc6-edd2-44c1-993f-08dd7324d91a ```