Page 2 of 2

Re: Song Fight Archive Web MP3 Player

Posted: Sat Apr 18, 2009 12:41 pm
by Lunkhead
OK, I think I've got the "absent minded bandwidth hog" prevention JavaScript code implemented. It's a bit crude, UI-wise, in that it pops up a browser confirmation dialog asking you if you'd like to keep playing music, rather than doing a nice fancy in-page dialog. Spud and JB, I'd be happy to configure it to kick in after however long you'd like. I was thinking of trying to figure out a very rough average of the length of all the songs in a typical fight, like 30 songs x 2.5 minues each, so 75 minutes, to start out with.

Re: Song Fight Archive Web MP3 Player

Posted: Sat Apr 18, 2009 1:25 pm
by Spud
Why not bump it to 90 so that no one gets bothered by the pesky dialog in the middle of a single fight?

Re: Song Fight Archive Web MP3 Player

Posted: Sat Apr 18, 2009 2:04 pm
by Lunkhead
Will do. Thanks, Spud.

Re: Song Fight Archive Web MP3 Player

Posted: Sun Apr 26, 2009 11:08 pm
by Lunkhead
Using fancy Yahoo! YUI modal dialog for the activity reminder now. Whee!

Re: Song Fight Archive Web MP3 Player

Posted: Fri Jun 05, 2009 4:52 am
by swilington
wow sam, this is amazing!

i have no idea if this is even plausible/possible but, it would be super cool if any sidefight songs (still out there in internet-land) were added to the archive. maybe just the major sidefights (nur ein, gift of music, etc.)

also, (pretty sure that this would be too much to even consider) it would be cool if there was a way to allow users to cross-reference themselves through all the different bands/songs they have appeared on. just an idea. :D

Re: Song Fight Archive Web MP3 Player

Posted: Fri Jun 05, 2009 4:54 am
by Eric Y.
Also: flying car.

Re: Song Fight Archive Web MP3 Player

Posted: Fri Jun 05, 2009 8:05 am
by Lunkhead
Thanks for the feedback, those are good ideas. As far as I can tell, I would have to either crawl songfight.org and scrape that data out of the sidefight and artist profile Web pages, or manually recreate the data myself in my own database. I'm not really interested in either of those options at the moment. (I don't think the FMs would appreciate crawling/scraping, either.) But if the sidefight data were available in a fashion similar to the main archive data it would be easy for me to add those. And if the "See also" data for artists was put into the data I'm using I could add that, too.

Re: Song Fight Archive Web MP3 Player

Posted: Fri Sep 10, 2010 6:00 pm
by Lunkhead
I've done a fairly large-ish update of my jukebox. Now the home page is the current fight. There's an "About" page with the old home page content. The fight and artist pages are much better looking and should be easier to use. Issues with whacky characters in artist names and fight titles should be resolved as best they can be.

http://www.bozos.com/sf/

Re: Song Fight Archive Web MP3 Player

Posted: Fri Sep 10, 2010 6:53 pm
by roymond
Oh Sam, this is awesome. How's your HTML5 curiosity going?

Re: Song Fight Archive Web MP3 Player

Posted: Fri Sep 10, 2010 9:54 pm
by Lunkhead
I'd definitely like to support it. It would be great if this could work on iOS devices. It really depends on how much control there is of HTML5 audio from JavaScript. If all you can do is just embed a single audio file and have the browser provide a player UI for it, that's not really going to work in the same way as the Flash stuff I'm using right now. So far I've only see demos of HTML5 audio that involve just one audio file, but I haven't done much research yet on whether more than that is possible. Do you know of any good resources for looking into that?

Re: Song Fight Archive Web MP3 Player

Posted: Sat Sep 11, 2010 8:02 am
by Lunkhead
This looks promising. The underlying JavaScript library that I use has been updated with preliminary HTML5 audio support, which is supposed to just work seamlessly in place of Flash with no change in the API the JavaScript layers on top.

http://www.schillmania.com/projects/soundmanager2/