#93: Saving uploaded song to a temporary location for processing

This commit is contained in:
kdeng00
2024-07-20 20:43:20 -04:00
parent d2df0fb409
commit ba0bf851f7
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -11,3 +11,5 @@
/Icarus.txt
/appsettings.json
/appsettings.Development.json
appsettings.Development.json
appsettings.json
+2
View File
@@ -131,6 +131,8 @@ public class SongDataController : BaseController
_logger.LogInformation($"Song title: {song.Title}");
var fileType = meta.FileExtensionType(tmpSong.SongPath());
song.Filename = tmpSong.Filename;
song.SongDirectory = tmpSong.SongDirectory;
switch (fileType)
{