http://kovyrin.net/2010/07/24/nginx-fu-x-accel-redirect-remo...
Serve Your Music Collection Using HTML5, Backbone, and Flask
21–30 of 86 posts
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#22Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#23Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#24This is pretty great. Are you going to be @ pycon or anything? I'll buy you a beer.
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#25Nice work! I see it supports X-Accel-Redirect. Do you think it could proxy music from a remote HTTP server, i.e., an S3 bucket? http://kovyrin.net/2010/07/24/nginx-fu-x-accel-redirect-remo...
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#26Curious as to why you aren't hosting this on github? I would have loved to star it and then come back later.
I don't use github. I use cgit and gitolite. I also don't use Google Music or Amazon Music; I use ZX2C4 Music. I don't use Picasa either - I use PhotoFloat http://zx2c4.com/projects/photofloat/ . Pattern? I don't like relying on cloud services I can't maintain myself. Schneier's got some essay out there called "Feudal Security" or the like that's a decent summary of this position. (I also happen to be the maintainer…
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#27Earlier quoted context omitted.
I don't use github. I use cgit and gitolite. I also don't use Google Music or Amazon Music; I use ZX2C4 Music. I don't use Picasa either - I use PhotoFloat http://zx2c4.com/projects/photofloat/ . Pattern? I don't like relying on cloud services I can't maintain myself. Schneier's got some essay out there called "Feudal Security" or the like that's a decent summary of this position. (I also happen to be the maintainer…
Have you tried using gitlab (which leverages gitolite)?
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#28Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#29This looks really great. Silly question: is there any way to access localhost from other devices on my WLAN?
In backend/local_server.py, change the line that says:
app.run()
to instead read: app.run(host='0.0.0.0')
You should then be able to access the server at the WLAN IP address of your machine, provided port 5000 is opened by your firewall.Even better, however, would be to use uwsgi in standalone mode. I've updated the README with instructions on this.
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#30uwsgi --socket /tmp/uwsgi-zmusic.sock --file /home/user/zmusic-ng/backend/zmusic -H /home/user/zmusic-ng/venv --callable app --processes 4