diff --git a/.gitignore b/.gitignore index 80d31a8..1488bbd 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ /Icarus.txt /appsettings.json /appsettings.Development.json +appsettings.Development.json +appsettings.json diff --git a/Controllers/v1/SongDataController.cs b/Controllers/v1/SongDataController.cs index c19da0e..c27ccd3 100644 --- a/Controllers/v1/SongDataController.cs +++ b/Controllers/v1/SongDataController.cs @@ -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) {