diff --git a/Mear/Mear.Android/Mear.Android.csproj b/Mear/Mear.Android/Mear.Android.csproj index b2f7c33..aecdc06 100644 --- a/Mear/Mear.Android/Mear.Android.csproj +++ b/Mear/Mear.Android/Mear.Android.csproj @@ -1,4 +1,4 @@ - + Debug @@ -52,7 +52,7 @@ - + @@ -60,7 +60,7 @@ - + @@ -91,11 +91,11 @@ - + @@ -103,5 +103,5 @@ Mear - - + + \ No newline at end of file diff --git a/Mear/Mear/Mear.csproj b/Mear/Mear/Mear.csproj index ca5a32d..56522c4 100644 --- a/Mear/Mear/Mear.csproj +++ b/Mear/Mear/Mear.csproj @@ -1,4 +1,4 @@ - + netstandard2.0 @@ -11,7 +11,8 @@ - - + + + \ No newline at end of file diff --git a/Mear/Mear/Mear.csproj.user b/Mear/Mear/Mear.csproj.user new file mode 100644 index 0000000..88a5509 --- /dev/null +++ b/Mear/Mear/Mear.csproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Mear/Mear/Models/Song.cs b/Mear/Mear/Models/Song.cs new file mode 100644 index 0000000..7880394 --- /dev/null +++ b/Mear/Mear/Models/Song.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Text; + +using Newtonsoft.Json; + +namespace Mear.Models +{ + public class Song + { + [JsonProperty("id")] + public int Id { get; set; } + [JsonProperty("title")] + public string Title { get; set; } + [JsonProperty("album")] + public string Album { get; set; } + [JsonProperty("artist")] + public string Artist { get; set; } + [JsonProperty("year")] + public int Year { get; set; } + [JsonProperty("genre")] + public string Genre { get; set; } + [JsonProperty("duration")] + public int Duration { get; set; } + [JsonProperty("filename")] + public string Filename { get; set; } + [JsonProperty("song_path")] + public string SongPath { set; get; } + } +}