Stream song #164

Merged
kdeng00 merged 11 commits from stream_song into v0.2 2025-07-27 14:20:42 -04:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 72c537d083 - Show all commits
+1
View File
@@ -17,6 +17,7 @@ pub mod endpoints {
pub const CREATESONG: &str = "/api/v2/song";
pub const GETSONGS: &str = "/api/v2/song";
pub const STREAMSONG: &str = "/api/v2/song/stream";
pub const CREATECOVERART: &str = "/api/v2/coverart";
pub const GETCOVERART: &str = "/api/v2/coverart";
}
+1
View File
@@ -123,6 +123,7 @@ pub mod init {
crate::callers::endpoints::GETCOVERART,
get(crate::callers::coverart::endpoint::get_coverart),
)
.route(crate::callers::endpoints::STREAMSONG, get(crate::callers::song::endpoint::stream_song))
}
pub async fn app() -> axum::Router {