Giter Club home page Giter Club logo

npshell's Introduction

Keep a daemon running in the background. Add sounds to a queue. Let the daemon play the sweet music for you. All from the comfort of your own shell.

npshell in action

  • Strictly command line based for extra nerd credits.
  • Adds sounds from deep folder structures by default.
  • Control music playback daemon from any terminal window.
  • Displays song paths relative to $PWD.
  • Optional system notifications displaying the path or id3v2 tags.
  • Creates cached/index files to handle large sound libraries, useful on slow disks and network drives.
  • Works on Mac OS X, Linux, and similar systems.

Installation

See INSTALL.md for Linux, other systems, and manual steps as well as how to enable notifications.

On Mac with Homebrew:

brew tap joelpurra/joelpurra
brew install npshell
brew services start npshell

Get started

See USAGE.md for the full list of command and configuration with examples.

Everyday usage, assuming np daemon has been started elsewhere:

cd Music/     # Go to a folder with some sounds.
np add 10     # Add 10 shuffled sounds from current folder hierarchy.
np next       # Play next sound.
np            # Display the currently playing sound.
np list       # List sounds in queue.
              # Add an album by folder path.
np add all in-order "Jazz/My Favorite Album/"
Convenient aliases

Save a keystroke or two, at least until tab completion is... completed. Add to your ~/.bash_profile or similar autoexecuted file of your choice.

alias npa='np add'
alias npn='np next'
alias npl='np list'

Copyright (c) 2014, 2015, 2016, 2017 Joel Purra. Released under GNU General Public License version 3.0 (GPL-3.0).

npshell's People

Contributors

joelpurra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

npshell's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.