Hacker News new | ask | show | jobs
by ge96 3431 days ago
pretty cool, like that Auth0 thing, do you pay for it or free?

random question. I've built up a playlist of almost 1,000 songs on YouTube, although I have Google Fiber for like $50.00/mo I feel bad that I use YouTube as a music player when the video for the bandwidth is mostly wasted unless I don't understand how that works.

I'm wondering how difficult it would be to scrape/bring in that to mix in with my user's playlist/favorites. Assuming the same song I'm looking for exists in your site.

To provide some insight, I could probably scrape the youtube playlist myself, and assuming perhaps you had a url-based search/submit(favorite) maybe you could automate this process. Just curious.

1 comments

Free. Auth0 is definitely very cool, makes it easy to implement Github/Facebook authentication (or any other service) as well. A bit of a pain to implement in Angular 2 right now if using hashes for routing (see https://github.com/auth0/lock/pull/790#issuecomment-27426628...), so we used popups as a temporary workaround.
I don't follow with the hashes, Auth stuff is on my list to do thanks for responding and providing insight on that.

edit: unless you're talking about hash like password hashing but I don't think so?...

Not sure if you saw the rest of my comment, I edited it after regarding merging playlists from YouTube into the site. It's too bad some of the songs are only 30 seconds long (I think this was mentioned regarding using SoundCloud for example as a source of music) anyway I'll try it out, already found a new song so thanks.

In non-HTML5 browsers you need # for routing single page applications.

The 30 second tracks come from spotify. Their API doesn't provide for a way to get the full track even for authenticated users, so we use an iframe widget for that :/

I see, I'm behind in tech so I don't even know I don't develop with Angular/factored in HTML5 though from what I've seen it's pretty cool what HTML5 does and makes some jQuery things "obsolete?" like draggable for example.

Anyway thanks for the information. Cool site. The 30 second song thing sucks, songs "eratically jump" I get that it's a preview/suggestion though. Music isn't "free" haha artists have to be paid.

edit: I want to stress the 30-sec gripe isn't to you, it's not your doing but you know things aren't free haha.