Curious as to why you aren't hosting this on github? I would have loved to star it and then come back later.
your web browser might have a feature similar to the github "star", called a bookmark.
Serve Your Music Collection Using HTML5, Backbone, and Flask
61–70 of 86 posts
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#62But i had this open in a different browser some minutes ago and it seemed quite impressive. Especially the encoding on the fly, as that is something I experimented with on my own mini-project (https://github.com/onli/music-streamer, ruby with sinatra, plain html5-audio). I'll have a look at your code how you did it, but I wonder if that would work with a low-end homeserver (i'm targeting a pogoplug). On what hardware did you test that?
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#63Wow, this is crazy because I'm working on a streaming music player of my own, also using HTML5, Backbone and Flask. (As well as Flask-SQLAlchemy and Mutagen, but those are obvious choices given Flask.) Congrats on shipping first. How long have you been working on this? I might actually use yours until my take on this is done. It certainly looks superior to Subsonic in every way. I'm still going to finish mine, becaus…
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 pretty clear opportunities for collaboration here. In particular, I think it would be prudent to informally standardize a REST/JSON API for music collections so these tools can interoperable. (I'll send you email about this, zx2c4.)
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#64Sadly this link doesn't seem to work anymore. The about-page is broken? But i had this open in a different browser some minutes ago and it seemed quite impressive. Especially the encoding on the fly, as that is something I experimented with on my own mini-project ( https://github.com/onli/music-streamer , ruby with sinatra, plain html5-audio). I'll have a look at your code how you did it, but I wonder if that would w…
I've got it working well on:
* Highend Core i7 laptop
* Atom 1U rackmount server
* Linode VPS
* Raspberry piRe: Serve Your Music Collection Using HTML5, Backbone, and Flask
#65This is lovely - thanks a lot! I listen to a lot of foreign music and have had a hard time populating my zmusic database. There's a work-around (decode the relevant strings to Unicode) that seems to have worked but I have to leave for work before I'll be able to test this fully. I've never submitted a patch before and hope to use this as an opportunity to learn how to make one. I have a basic question, however: why d…
> I listen to a lot of foreign music and have had a hard time populating my zmusic database Oh noes! I too have lots of foreign music in my collection, and it seemed to work fine. I'm using the tagging framework out of MusicBrainz' Picard application, so things should be pretty flawless. I wonder what happened... Maybe the encoding system-wide needs to be set to UTF-8 so Python picks this up? If you email me more inf…
> ProgrammingError: (ProgrammingError) You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. u'SELECT songs.filename AS songs_filename, songs.id AS songs_id, songs.title AS songs_title, songs.album AS songs_album, songs.artist AS songs_artist, songs.mimetype AS songs_mimetype, songs.year AS songs_year, songs.track AS songs_track, songs.disc AS songs_disc, songs.lastmodified AS songs_lastmodified, songs.filesize AS songs_filesize, songs.length AS songs_length \nFROM songs \nWHERE songs.filename = ?' ('/home/dschulz/M\xc3\xbasica/Michel_Petrucciani/Blue_Note/06-Trouble.mp3',)
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#66Sadly this link doesn't seem to work anymore. The about-page is broken? But i had this open in a different browser some minutes ago and it seemed quite impressive. Especially the encoding on the fly, as that is something I experimented with on my own mini-project ( https://github.com/onli/music-streamer , ruby with sinatra, plain html5-audio). I'll have a look at your code how you did it, but I wonder if that would w…
Server was DoS'd. Back up now with a static cache. I've got it working well on: * Highend Core i7 laptop * Atom 1U rackmount server * Linode VPS * Raspberry pi
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#67This is lovely - thanks a lot! I listen to a lot of foreign music and have had a hard time populating my zmusic database. There's a work-around (decode the relevant strings to Unicode) that seems to have worked but I have to leave for work before I'll be able to test this fully. I've never submitted a patch before and hope to use this as an opportunity to learn how to make one. I have a basic question, however: why d…
> I listen to a lot of foreign music and have had a hard time populating my zmusic database Oh noes! I too have lots of foreign music in my collection, and it seemed to work fine. I'm using the tagging framework out of MusicBrainz' Picard application, so things should be pretty flawless. I wonder what happened... Maybe the encoding system-wide needs to be set to UTF-8 so Python picks this up? If you email me more inf…
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#68Earlier quoted context omitted.
> I listen to a lot of foreign music and have had a hard time populating my zmusic database Oh noes! I too have lots of foreign music in my collection, and it seemed to work fine. I'm using the tagging framework out of MusicBrainz' Picard application, so things should be pretty flawless. I wonder what happened... Maybe the encoding system-wide needs to be set to UTF-8 so Python picks this up? If you email me more inf…
I ran into this problem as well. It seems that the filesystem paths should not contain non-ASCII characters. In my case, my music is stored in ~/Música and scan.py fails on every single audio file it finds. > ProgrammingError: (ProgrammingError) You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead jus…
http://git.zx2c4.com/zmusic-ng/commit/?id=297514d6e6c42057ee...
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#69One thing that concerns me though is the CPU usage on the client machine. chromium uses roughly ~30% CPU on a 6-core AMD Phenom II running only zmusic. Anyone else seeing this too?
Re: Serve Your Music Collection Using HTML5, Backbone, and Flask
#70Really nice! One thing that concerns me though is the CPU usage on the client machine. chromium uses roughly ~30% CPU on a 6-core AMD Phenom II running only zmusic. Anyone else seeing this too?
If there's high CPU usage, file a Chrome bug -- it's possibly do to some nastiness in their audio decoder.