You are not logged in.
Wow that is really cool guys! I was away for a week so I couldn't test it so far and now, unfortunately, my box broke. I'll fix it tomorrow, install it, and post the results
Offline
Hmm when I try to run it I get this:
/opt/cloudruby/mpg123player.rb:18:in `write': Broken pipe (Errno::EPIPE)
from /opt/cloudruby/mpg123player.rb:18:in `puts'
from /opt/cloudruby/mpg123player.rb:18:in `play'
from ./cloudruby:33:in `nextTrack'
from ./cloudruby:20:in `init'
from ./cloudruby:81:in `<main>'Offline
I can't reproduce the `Broken Pipe` Error.
Can you tell me what system you are running on and the exact command line you call?
Thanks, Paul
Last edited by kulpae (2011-08-18 16:24:32)
Offline
ruby-ncurses moved now to community, but is still not working with ruby 1.9...
Offline
I'm running it on a virtualbox guest. The ncurses interface pops up, but when i try to move up or down it breaks. I'm using the testing repos.
Offline
what happens, if you try it manually with mpg123:
please type the first line, the second line should appear then...
$ mpg123 --keep-open --remote
@R MPG123 (ThOr) v6then type (or copy and paste)
load http://api.soundcloud.com/tracks/21478867/stream?client_id=76796f79392f9398288cdac3fe3391c0Press return.
please tell me, if it plays then...
if it does, paste the last line again while it is playing the track and press return. Does it play from the start now?
(press CTRL-D to quit then)
Last edited by kulpae (2011-08-19 20:25:33)
Offline
Silly me... I haven't added my user to the group audio so the errors were because of alsa. Everything is working perfectly now! Great job! ![]()
Offline
good to know, thanks.
Offline
It works, thanks!
Offline
Hey,
every time I try to run "cloudruby someurl" I receive the following error:
by
Error: undefined method `[]' for nil:NilClasswith an empty blue screen there.
When calling just "cloudruby" the music runs just fine.
What am I doing wrong?
Thanks
Offline
Hello guys,
After many years i decided to update cloudruby! Sry it took so long.
Changelog:
* Added --no-shuffle and "no-shuffle": true
* Works now with ruby 1.9.2+
* uses curses gem instead of rkumar/ncurses
* uses json_pure instead of json
* added the capability to download tracks
* added config file and command arguments (e.g. custom colors)
* mpg123 doesn't go silent after fast switching
The latest version is available in AUR (cloudruby-git).
cheers, kulpae
Offline