Fix search not returning data
This commit is contained in:
@@ -24,8 +24,11 @@ namespace MusicPlayer
|
|||||||
{
|
{
|
||||||
// Q artist genre album
|
// Q artist genre album
|
||||||
JObject o = nw.SendString($"search?q={search}&album={album}&genre={genre}&artist={artist}");
|
JObject o = nw.SendString($"search?q={search}&album={album}&genre={genre}&artist={artist}");
|
||||||
Console.WriteLine(o.PropertyValues().ToString());
|
if (o != null)
|
||||||
if (o["result"].ToString() == "OK") { return o; }
|
{
|
||||||
|
Console.WriteLine(o.PropertyValues().ToString());
|
||||||
|
if (o["result"].ToString() == "OK") { return o; }
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user