Skip to content

Ncurses player for Soundcloud tracks in Ruby

License

Notifications You must be signed in to change notification settings

hterhanian/cloudruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Ncurses player for Soundcloud tracks in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published