Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use bindings package in examples

  • Loading branch information...
commit a733042eb4c48a668c4887c063fca217bf089c1c 1 parent 173f731
@nikhilm authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  README.md
  2. +1 −1  examples/properties.js
  3. +1 −1  examples/simple.js
View
2  README.md
@@ -49,7 +49,7 @@ certain bugs present in the released v1.7 cause problems.**
# make sure you have node and taglib installed
git clone git://github.com/nikhilm/node-taglib.git
cd node-taglib
- node-waf configure build
+ npm install .
node examples/simple.js /path/to/mp3_or_ogg_file
# you can now require('./taglib')
View
2  examples/properties.js
@@ -1,4 +1,4 @@
-var Taglib = require(__dirname+"/../taglib")
+var Taglib = require('bindings')('taglib');
var util = require("util")
var p = new Taglib.AudioProperties(process.argv[2]);
View
2  examples/simple.js
@@ -1,4 +1,4 @@
-var Taglib = require(__dirname+"/../taglib")
+var Taglib = require('bindings')('taglib');
var util = require("util")
for (var i = 2; i < process.argv.length; i++) {
Please sign in to comment.
Something went wrong with that request. Please try again.