Open gabrielecirulli opened 11 years ago
Hi, I don’t really do development on Hallon anymore but I figured it would be nice to have an answer either way.
The issue with objects never loading has been in Hallon since it’s inception. Sometimes objects never load, and it is not uncommon. I believe there are multiple reasons for this:
The timeout in Hallon was a naive way of working around this, by making non-loading objects an error, which is why the timeout exists in the first place. However, where libspotify is usually used (e.g. spotify client), an object not loading is not usually that big of a deal, it simply won’t show any information. It makes it tricky to use libspotify in one-off scripts in ruby, but I do not believe there is any other way around it than completely changing how libspotify is used in Ruby, with something like celluloid or eventmachine for example.
Hey. I'm interested in writing a small script to find random related artists based on the artists I have in my playlist, but I'm having difficulties using Hallon because it doesn't seem to load things successfully.
I did the following things:
I read in another issue that some loading might go on for even longer than a minute, but I think it's been hanging for way longer than that and I've had no result, so I wonder if I'm doing something wrong. Please excuse me if I missed something.
Here's what I tried:
I also checked if I have the correct gems installed: