Stream song (#164)

* Added crates and dependency features

* Added endpoint to stream songs

* Changed name of function

* Song stream endpoint is now available

* Endpoint is now working

* Added test

* Warning fixes

* Code formatting

* Added TODO for later

* Test fix

* Version bump
This commit was merged in pull request #164.
This commit is contained in:
KD
2025-07-27 14:20:42 -04:00
committed by GitHub
parent a8603361c0
commit e98e055de0
6 changed files with 145 additions and 23 deletions
+3
View File
@@ -562,7 +562,10 @@ pub mod endpoint {
match super::cov_db::create(&pool, &coverart, &song.id).await {
Ok(id) => {
// TODO: Populate song_id
coverart.id = id;
println!("Cover Art created");
response.message = String::from("Successful");
response.data.push(coverart);