You are not logged in.

#26 2011-08-17 00:16:32

rejoin
Member
Registered: 2011-06-06
Posts: 43

Re: Soundcloud player.

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

#27 2011-08-17 09:13:40

rejoin
Member
Registered: 2011-06-06
Posts: 43

Re: Soundcloud player.

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

#28 2011-08-18 15:31:12

kulpae
Member
From: Bremen
Registered: 2010-02-06
Posts: 34

Re: Soundcloud player.

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

#29 2011-08-18 23:29:20

kulpae
Member
From: Bremen
Registered: 2010-02-06
Posts: 34

Re: Soundcloud player.

ruby-ncurses moved now to community, but is still not working with ruby 1.9...

Offline

#30 2011-08-19 15:45:55

rejoin
Member
Registered: 2011-06-06
Posts: 43

Re: Soundcloud player.

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

#31 2011-08-19 20:18:53

kulpae
Member
From: Bremen
Registered: 2010-02-06
Posts: 34

Re: Soundcloud player.

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) v6

then type (or copy and paste)

load http://api.soundcloud.com/tracks/21478867/stream?client_id=76796f79392f9398288cdac3fe3391c0

Press 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

#32 2011-08-20 00:37:37

rejoin
Member
Registered: 2011-06-06
Posts: 43

Re: Soundcloud player.

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! smile

Offline

#33 2011-08-20 14:55:30

kulpae
Member
From: Bremen
Registered: 2010-02-06
Posts: 34

Re: Soundcloud player.

good to know, thanks.

Offline

#34 2012-03-10 08:56:47

Boohbah
Member
Registered: 2011-11-19
Posts: 20

Re: Soundcloud player.

It works, thanks!

Offline

#35 2013-10-12 18:26:18

tasse
Member
Registered: 2013-10-12
Posts: 5

Re: Soundcloud player.

Hey,

every time I try to run "cloudruby someurl" I receive the following error:

  by
Error: undefined method `[]' for nil:NilClass

with an empty blue screen there.
When calling just  "cloudruby" the music runs just fine.

What am I doing wrong?

Thanks

Offline

#36 2014-02-16 03:44:40

kulpae
Member
From: Bremen
Registered: 2010-02-06
Posts: 34

Re: Soundcloud player.

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

Board footer

Powered by FluxBB