Pretty interesting. What does your uwsgi line look like? Mine keeps failing with "ImportError: No module named zmusic.login". I'm running: uwsgi --socket /tmp/uwsgi-zmusic.sock --file /home/user/zmusic-ng/backend/zmusic -H /home/user/zmusic-ng/venv --callable app --processes 4
Serve Your Music Collection Using HTML5, Backbone, and Flask
31–40 of 86 posts
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#32Pretty interesting. What does your uwsgi line look like? Mine keeps failing with "ImportError: No module named zmusic.login". I'm running: uwsgi --socket /tmp/uwsgi-zmusic.sock --file /home/user/zmusic-ng/backend/zmusic -H /home/user/zmusic-ng/venv --callable app --processes 4
-w zmusic:app --socket /tmp/uwsgi-zmusic.sock --chmod-socket=660
Using --chdir to change to the backend/ directory may be useful as well.I've just updated the README with these instructions.
I've also added a section on using uwsgi in standalone mode, as the built-in debugging server can't handle concurrent requests.
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#33Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#34Pretty interesting. What does your uwsgi line look like? Mine keeps failing with "ImportError: No module named zmusic.login". I'm running: uwsgi --socket /tmp/uwsgi-zmusic.sock --file /home/user/zmusic-ng/backend/zmusic -H /home/user/zmusic-ng/venv --callable app --processes 4
What you want is zmusic:app with the -w switch. -w zmusic:app --socket /tmp/uwsgi-zmusic.sock --chmod-socket=660 Using --chdir to change to the backend/ directory may be useful as well. I've just updated the README with these instructions. I've also added a section on using uwsgi in standalone mode, as the built-in debugging server can't handle concurrent requests.
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#35what's behind not being able to search while a song is playing or paused? is that expected behavior?
zmusic-ng $ uwsgi --chdir backend/ -w zmusic:app --http-socket 0.0.0.0:5000
I've updated the README to reflect this suggestion:Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#36If you're interested in a program that does this + video check out Subsonic: http://www.subsonic.org/ .
I must say, its not nearly as slick as the article's linked, and it uses flash
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.
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#37If you are looking for feature requests: I'd love to see a last.fm scrobbler integrated.
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#38Does anyone know anything that can do the same thing for movies? Specifically the transcoding part. I use plex, but i hate the fact that they add in GA tracking.
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#39Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#40One minor, minor gripe is that it uses a Makefile instead of the canonical setup.py for building. (did I mention "minor"?) For me personally, it makes up for this fact by using Flask. (Yes, i am unabashedly a fanboy of that microframework. squeee)
One question though: What is the [git-root]/server.cfg? it seems not to have an influence? is it deprecated?