Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 1.75 KB

File metadata and controls

65 lines (49 loc) · 1.75 KB

CloudRuby

A soundcloud player written in Ruby with Ncurses for graphical interface and mpg123 for playback.

Installation

Install mpg123, ruby 1.9 and ncurses with a package manager of your destribution.

Then install the required gems.

If you are using RVM:

  gem install ncurses

Without RVM you need to obtain write permissions with sudo:

  sudo gem install ncurses

If it fails installing ncurses, then this step is also required: (If using RVM, ignore sudo)

  wget http://github.com/downloads/rkumar/rbcurse/ncurses-1.2.4.gem
  sudo gem install --local ncurses-1.2.4.gem

Usage

From the terminal start with:

  cloudruby          # query the latest 100 tracks from soundcloud 
  cloudruby $search  # query the latest 100 tracks that match the $search keyword
  
  # play a soundcloud url directly
  cloudruby http://soundcloud.com/crassmix/feint-clockwork-hearts-crass

Inside of Ncurses:

KeyDescription
q | Q Quit
+ | = Increase Volume
- | _ Decrease Volume
n | N | Up Next track
p | P | Down Previous track
m | M Toggle mute
Spacebar Toggle playback

Screenshot

Screenshot showing ncurses user interface

Known Bugs

  • Going through the playlist too fast causes silence for some time

Author

Paul Koch [kulpae]

http://www.uraniumlane.de

License

see LICENSE.