#90: Adding functionality to download cover art #97

Merged
kdeng00 merged 3 commits from tsk-90 into master 2024-06-16 18:28:08 -04:00
8 changed files with 1 additions and 20 deletions
Showing only changes of commit 3a78dac5bb - Show all commits
-2
View File
@@ -1,5 +1,3 @@
using System;
using Newtonsoft.Json;
namespace Icarus.Models;
+1 -4
View File
@@ -27,9 +27,6 @@ public class CoverArt
return (flag == 0) ? filename : $"{filename}{extension}";
}
public async Task<byte[]> GetData()
{
return await File.ReadAllBytesAsync(this.ImagePath);
}
public async Task<byte[]> GetData() => await File.ReadAllBytesAsync(this.ImagePath);
#endregion
}
-2
View File
@@ -1,5 +1,3 @@
using System;
using Newtonsoft.Json;
namespace Icarus.Models;
-2
View File
@@ -1,5 +1,3 @@
using System;
using Newtonsoft.Json;
namespace Icarus.Models;
-3
View File
@@ -1,7 +1,4 @@
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
-3
View File
@@ -1,6 +1,3 @@
using System;
using System.Text;
namespace Icarus.Models;
public class SongData
-2
View File
@@ -1,5 +1,3 @@
using System;
using Newtonsoft.Json;
namespace Icarus.Models;
-2
View File
@@ -1,7 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Newtonsoft.Json;