Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Node module to search and play tracks from local iTunes library. Mac only.
JavaScript AppleScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
example.js
index.js
itunes-play.applescript
itunes-search.applescript
package.json

README.md

itunescontrol

Search and play tracks from local iTunes library.

Requires

  • Mac OS (wraps AppleScript)
  • Local copy of iTunes

Install

npm install itunescontrol

Usage

iTunesControl = require("itunescontrol");

iTunesControl.search("radiohead kid a right place", function (results) {

    console.log("RESULTS!", results);

    iTunesControl.play(results[0].id);

});
Something went wrong with that request. Please try again.