fixed bug
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
c2ae664d80
commit
d087d2d393
@ -15,23 +15,18 @@ namespace Herse.Models
|
|||||||
[JsonProperty("artist")]
|
[JsonProperty("artist")]
|
||||||
public string Artist { get; set; }
|
public string Artist { get; set; }
|
||||||
|
|
||||||
[JsonProperty("genre")]
|
|
||||||
public string Genre { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("path")]
|
[JsonProperty("path")]
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
|
|
||||||
[JsonProperty("guid")]
|
// [JsonProperty("guid")]
|
||||||
public string Guid { get; set; }
|
// public string Guid { get; set; }
|
||||||
|
|
||||||
[JsonProperty("disabled")]
|
[JsonProperty("disabled")]
|
||||||
public bool Disabled { get; set; } = false;
|
public bool Disabled { get; set; } = false;
|
||||||
|
|
||||||
|
|
||||||
[JsonProperty("favorite")]
|
[JsonProperty("favorite")]
|
||||||
public bool Favorite { get; set; } = false;
|
public bool Favorite { get; set; } = false;
|
||||||
|
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public FileType FileType
|
public FileType FileType
|
||||||
{
|
{
|
||||||
@ -53,4 +48,11 @@ namespace Herse.Models
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class History : Song
|
||||||
|
{
|
||||||
|
[JsonProperty("count")]
|
||||||
|
public int Count { get; set; }
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user