git-song
Git hook for adding the currently playing song to a commit.
Last updated 5 years ago by remixz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install git-song 
SYNC missed versions from official npm registry.

git-song

Git hook for adding the currently playing song to a commit. Experimental, and not actively maintained.

Install

npm install git-song -g

Usage

Enter a git repository directory, and run git-song --player=<player name>. The only tested players are itunes and spotify. For example, if you use iTunes, run:

git-song --player="itunes"

This will automatically add a commit-msg hook that'll add the currently playing song from iTunes. If there's no song playing, or the player isn't running, it won't add anything to your commit message. Otherwise, it'll add the following to the very bottom of your commit message:

:musical_note: Listening to "Song Name" by Artist :musical_note:

Caveats

  • Mac OS X only.
  • If the player currently isn't running, it'll launch it. This is an applescript limitation.

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |