Live data from Hacker News

Serve Your Music Collection Using HTML5, Backbone, and Flask

git.zx2c4.com

81–86 of 86 posts

Re: Serve Your Music Collection Using HTML5, Backbone, and Flask

#82
post #78
post #70

Earlier quoted context omitted.

That's quite astounding, yikes. I have less than 1 percent of CPU usage with my Chromium. (Using latest dev channel, built from scratch with -march=native -O2 -fomit-frame-pointers -pipe.) If there's high CPU usage, file a Chrome bug -- it's possibly do to some nastiness in their audio decoder.

Found out that it seems to be the drawing of the progress bar, as weird as that may sound. When I switch to another tab, the CPU usage drops. I'm on Linux using the open source ATI radeon driver, that might have something to do with it.

Well that's quite interesting... Try and see if it still happens with fglrx. The progress bar is a CSS3 animation, which means Chromium likely hardware accelerates it, so I could imagine buggy drivers causing issues.

Re: Serve Your Music Collection Using HTML5, Backbone, and Flask

#84
post #71
post #63

Earlier quoted context omitted.

Crazily, I have also built a (rudimentary) similar project out of Flask, Backbone, and HTML5 audio (and Mutagen, of course). It's a piece of a larger music-management puzzle: http://beets.readthedocs.org/en/1.0rc2/plugins/web.html Anyway, zx2c4's project is obvious slicker than mine. It's somewhat crazy that all the people on this thread saying "hey, me too" are only now finding each other. I think there are some pre…

I've looked at this one, actually! Are you the author of beets itself? beets is a great music importer. A few months ago I wanted to write something like that — looking up releases in a central repository, automatically correcting tags and renaming. But I hadn't got very far, so I abandoned the project when I saw you had already done it way better. I would prefer if it pulled data from Discogs instead of MusicBrainz.…

Yep, that's me! I'll send you email. :)

Re: Serve Your Music Collection Using HTML5, Backbone, and Flask

#85
post #60
post #36

Earlier quoted context omitted.

To be fair, the screenshots do not do it justice. The default theme is a lot more slick than the horrible blue themes in the screen shots. You also have to bare in mind that Subsonic also has native players for a whole bucket load of platforms (both mobile and desktop), supports video, transcodes, is multi user and has a tone of other neat functions. In many ways, Subsonic is more akin to Spotify.

From the site: > Based on Java technology, ... I stopped reading there. Bias? Maybe.

I'd say that was more "narrow minded prejudice" to dismiss an application you've not researched nor ran simply because of a tired old myth about an enterprise level language which is in wide scale production use on devices ranging from 'dumb' feature phones through to enterprise servers.

But really, it's your loss.

Re: Serve Your Music Collection Using HTML5, Backbone, and Flask

#86
post #85
post #60

Earlier quoted context omitted.

From the site: > Based on Java technology, ... I stopped reading there. Bias? Maybe.

I'd say that was more "narrow minded prejudice" to dismiss an application you've not researched nor ran simply because of a tired old myth about an enterprise level language which is in wide scale production use on devices ranging from 'dumb' feature phones through to enterprise servers. But really, it's your loss.

Narrow minded prejudice is probably accurate, yea. Guilty as charged.
Post reply on HN