Skip to content

Instantly share code, notes, and snippets.

@kepstin
Created October 21, 2011 00:53
Show Gist options
  • Save kepstin/1302825 to your computer and use it in GitHub Desktop.
Save kepstin/1302825 to your computer and use it in GitHub Desktop.
Demonstration of the vala bindings to libmusicbrainz4
using Mb4;
public static int main(string[] args) {
Query query = new Query("Riker/0.1", "makoto.kepstin.ca", 8000);
query.username = "kepstin";
query.password = "notreallymypassword";
print("%s\n", query.lasterrormessage);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment