#103: Remove WAV support #105

Merged
kdeng00 merged 12 commits from tsk-103 into master 2025-02-16 17:24:50 -05:00
3 changed files with 4 additions and 12 deletions
Showing only changes of commit 6bff36bc03 - Show all commits
+1 -9
View File
@@ -8,14 +8,6 @@ using TagLib.Mpeg4;
namespace Icarus.Controllers.Managers;
public enum CreateFileResult
{
Unknown = 0,
AlreadyExists = 1,
FileCreatedAndExists = 2
}
public class SongManager : BaseManager
{
#region Fields
@@ -377,7 +369,7 @@ public class SongManager : BaseManager
}
public CreateFileResult Create(IFormFile file, string filePath, string prompt)
public Icarus.Models.CreateFileResult Create(IFormFile file, string filePath, string prompt)
{
if (System.IO.File.Exists(filePath))
{
+2 -2
View File
@@ -6,6 +6,6 @@ namespace Icarus.Models;
public enum CreateFileResult
{
Unknwon = 0,
AlreadyExists = 1,
FileCreatedAndExists = 2
AlreadyExists = 1,
FileCreatedAndExists = 2
}
+1 -1
View File
@@ -80,7 +80,7 @@ public class Song
{
var fullPath = SongDirectory;
if (fullPath![fullPath.Length -1] != '/')
if (fullPath![fullPath.Length - 1] != '/')
{
fullPath += "/";
}