private void OnLoveButtonClicked(object o, EventArgs args) { love_button.Sensitive = false; hate_button.Sensitive = false; CurrentSong.Loved = true; XmlRpc xmlrpc = new XmlRpc (); xmlrpc.loveTrack (current_song.Artist, current_song.Track); }
private void OnHateButtonClicked(object o, EventArgs args) { love_button.Sensitive = false; hate_button.Sensitive = false; CurrentSong.Hated = true; XmlRpc xmlrpc = new XmlRpc (); xmlrpc.banTrack (current_song.Artist, current_song.Track); Driver.connection.Skip (); }