Commit 8215937d authored by Axelander's avatar Axelander

Fixed missing code refactoring for Release compiler profile

parent 26e4be7d
......@@ -692,11 +692,10 @@ namespace SonicStreamer.Subsonic.Server
#if DEBUG
return true;
#else
List<KeyValuePair<string, string>> param = new List<KeyValuePair<string, string>>();
param.Add(new KeyValuePair<string, string>("id", trackID));
CustomXmlReader xml = (await getXmlFromServer("scrobble", param)).Item1;
var param = new List<KeyValuePair<string, string>> {new KeyValuePair<string, string>("id", trackId)};
var xml = (await GetXmlFromServer("scrobble", param)).Item1;
return xml != null ? true : false;
return xml != null;
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment