Got it working after doing a manual install from Github.
@rekado, it looks like the web authentication may be broken though: the auth code appears in the URL and I can use it, but no message is displayed on the website.
Hmm. I pulled the repo from github and get this:
undefined method `bus' for nil:NilClass
Did you build it or just run it as `ruby -Ilib ./bin/soundcli`?
Thanks,
Nick
EDIT:
Nevermind. I installed it as a gem and then installed a bunch of gstreamer plugins and now it works! \\o/
Let's try this out.
]]>@rekado, it looks like the web authentication may be broken though: the auth code appears in the URL and I can use it, but no message is displayed on the website.
]]>Hmm. Does anyone know if ruby 2.x is supported?
I just tried the normal and -git versions in the AUR, and in both cases get an uninformative error message:
cannot load such file -- soundcli
Ruby version: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Any ideas?
Getting exactly the same. What gives?
]]>I just tried the normal and -git versions in the AUR, and in both cases get an uninformative error message:
cannot load such file -- soundcli
Ruby version: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Any ideas?
]]>Fetching: pkg-config-1.1.4.gem (100%)
Fetching: glib2-2.0.2.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing soundcli-0.0.5.gem:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.9.1/gems/glib2-2.0.2/lib/mkmf-gnome2.rb:13:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:15:in `<main>'
Gem files will remain installed in /var/lib/gems/1.9.1/gems/glib2-2.0.2 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/glib2-2.0.2/ext/glib2/gem_make.out
i had to fix some things like : ln -s /usr/bin/ruby-1.8 /usr/bin/ruby
mkdir -p /opt/ruby1.8/bin/
ln -s /usr/bin/ruby-1.8 /opt/ruby1.8/bin/ruby
thanks for this nice project, I already flattr'ed it
There are still a lot of functionality missing, e.g. playing a whole artist site an once, soundcli stream http://soundcloud.com/le-filou
or downloading several tracks at once.Hope you still got some time for this project
I just added this feature. Just fetch the latest version from git and then enter `soundcli user mama` where "mama" is the user's username on soundcloud.
]]>Hope you still got some time for this project
]]>soundcli set http://soundcloud.com/rekado/sets/staging/
...and multiple file playback:
soundcli stream http://soundcloud.com/rekado/{the-human-song,chroma,faded}
Grab it from the AUR: soundcli-git
]]>Changes:
- fixed the bug jomasti reported
- a config file is now respected
- verbosity can be set in the config file
Yep, fairly new to arch. Just installed it on a fresh setup. Now it asks for email and password and after i type my pass i get:
Could not post/save access token. Could not authenticate. /usr/lib/ruby/site_ruby/1.9.1/soundcli.rb:9:in `initialize': Authentication error (RuntimeError) from /usr/bin/soundcli:6:in `new' from /usr/bin/soundcli:6:in `<main>
Good, we had this earlier (see some posts above). During installation the configuration directory is not created automatically yet, nor does soundCLI create the dir when it discovers that it doesn't exist. You need to do this manually:
mkdir $XDG_CONFIG_HOME/soundcli
soundCLI stores the authentication token there.
I will provide a soundcli-git package later today, so you can easily follow development and the implementation of bugfixes before the next release. Note that soundcli 0.0.2 has some bugs which have since been fixed in the latest version on git.
]]>