#103: Added method to create song and moving some code around

This commit is contained in:
kdeng00
2024-08-06 19:51:50 -04:00
parent 77030c6347
commit b3b5a975d9
6 changed files with 66 additions and 4 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ public class SongDataController : BaseController
case "wav":
// song = _songMgr.SaveSongToFileSystem(up.SongData, up.CoverArtData, song);
// TODO: Make sure the tmp file gets deleted
return BadRequest(".wav files are not supported");
return BadRequest("No support for .wav files");
case "flac":
song = _songMgr.SaveFlacSongToFileSystem(up.SongData, up.CoverArtData, song);
break;