You are not logged in.
Oh, ok. I think my setup broke so I will reinstall and write back!
Offline
Oh, ok. I think my setup broke
so I will reinstall and write back!
New to Arch...? :-p
If you do reinstall your system (which I hope was not triggered by the bad experience of installing my little program) stay away from RubyGems and stick to what is offered in the repos. If it's not there, build your own package. It makes things a lot easier when you can rely on pacman do deal with everything.
musician & coder
http://elephly.net
http://github.com/rekado
Offline
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>
Offline
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.
musician & coder
http://elephly.net
http://github.com/rekado
Offline
rekado: Thanks! I had a file soundcli instead of a folder. Now it works fine!
Offline
The new soundcli-git package is ready, so you can easily track the development.
Changes:
- fixed the bug jomasti reported
- a config file is now respected
- verbosity can be set in the config file
musician & coder
http://elephly.net
http://github.com/rekado
Offline
Added support for playlists...
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
musician & coder
http://elephly.net
http://github.com/rekado
Offline
Only just noticed that soundCLI required authentication for streaming songs (and not only for user-related stuff). That's been fixed in soundcli-git. People without SoundCloud account can now stream songs from the 'Cloud, too.
musician & coder
http://elephly.net
http://github.com/rekado
Offline
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
Offline
I'm currently not working on soundcli, but I might continue later this year. The code is not complicated, though, so you are welcome to submit patches.
musician & coder
http://elephly.net
http://github.com/rekado
Offline
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.
musician & coder
http://elephly.net
http://github.com/rekado
Offline
hello i have this error when i try to start soundcli
no such file to load -- soundcli
i compiled all the components with ruby 1.8
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
Offline
@freaks: ruby 1.9 is required.
musician & coder
http://elephly.net
http://github.com/rekado
Offline
I use arch linux on my laptop, however I have a small NAS with debian and there I cannot get this working
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
.-. ,---,---.--.
| |__ \ \ \ \`//.
`----'`--'`--'`--'
Offline
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?
Keith
dotfiles
Offline
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?
Offline
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.
Keith
dotfiles
Offline
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.
Last edited by n1ck3 (2013-08-01 10:09:09)
Offline