A soundcloud player written in Ruby with Ncurses for graphical interface and mpg123 for playback.
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
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:
Key | Description |
---|---|
q | Q | Quit |
+ | = | Increase Volume |
- | _ | Decrease Volume |
n | N | Up | Next track |
p | P | Down | Previous track |
m | M | Toggle mute |
Spacebar | Toggle playback |
- Going through the playlist too fast causes silence for some time
Paul Koch [kulpae]
see LICENSE.