#93: Saving uploaded song to a temporary location for processing
This commit is contained in:
@@ -11,3 +11,5 @@
|
||||
/Icarus.txt
|
||||
/appsettings.json
|
||||
/appsettings.Development.json
|
||||
appsettings.Development.json
|
||||
appsettings.json
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user