Song Fight! Jukebox

Use this forum for title suggestions, bitching at moderators, whining about phpBB, and grand ideas that will solve all of Song Fight's problems.
Post Reply
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Song Fight! Jukebox

Post by Lunkhead »

I've mentioned this project in another thread, and was inspired to start working on it by an old thread from this section of the forums. Some of you may know about it already, some of you may not. Anyway, I thought I would start a thread specific to it. I just updated it recently with some more bug fixes and I also added the ability for people to register and log in. Currently there aren't any additional features for registered users, but any new features I implement for a while will likely only be for registered users, as I'll have to have some way to associate the data for the features with specific users.

http://sfjukebox.org/

One caveat is that I've really only tested it on Firefox. Last time I seriously tried it on IE/Windows it looked like the Flash MP3 player I use couldn't stream music from songfight.org, unfortunately. EDIT: Actually, it seems to work on IE in Windows, at least IE7/Windows XP.
User avatar
fluffy
Eruption
Posts: 11029
Joined: Sat Sep 25, 2004 10:56 am
Instruments: sometimes
Recording Method: Logic Pro X
Submitting as: Sockpuppet
Pronouns: she/they
Location: Seattle-ish
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by fluffy »

Probably due to the anti-hotlink measures. I can add an exception for that page, if that would help.

[EDIT] Added.
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Lunkhead »

Ah, that explains why it was working when I just tested it. Thanks fluffy!

EDIT: So yeah, ignored the "FIREFOX REQUIRED" bit on the home page. It seems to work for me in Firefox, IE, and Chrome. Yay!
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Lunkhead »

I forgot I had a thread just for this project.

Roymond mentioned HTML5 audio for this, to make it work on iOS devices. Well, it turns out the underlying JavaScript/Flash API I've been using has been upgraded to also provide some beta support for HTML5 audio. It is supposed to be a seamless behind the scenes substitution for Flash for iOS devices. I have rolled out this upgrade because it also speeds up the loading of the Flash MP3 player a ton, and because it did in fact seem to be a straightforward upgrade process. I have no iOS device to test the HTML5 audio support, though. So those of you with iPhones/iPads/iPod touches, please give it a whirl and see if it works. This is making me want to buy a new iPod touch even more...

http://sfjukebox.org/
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Lunkhead »

Reports are coming in that it works on the iPhone, and that the music will even keep playing in the background while you switch away from Safari. Neato.
User avatar
roymond
Beat It
Posts: 5188
Joined: Sat Sep 25, 2004 3:42 pm
Instruments: Guitars, Bass, Vocals, Logic
Recording Method: Logic X, MacBookPro, Focusrite Scarlett 2i2
Submitting as: roymond, Dangerous Croutons, Intentionally Left Bank, Moody Vermin
Pronouns: he/him
Location: brooklyn
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by roymond »

Yes, it seems to scroll and play fine on the iPad. Thanks! This is really quite nice, Sam.

The artist pages don't seem to pick up artwork.

Other unreasonable requests:
- logged-in members' ability to "thumbs up/down" songs/artists
- random playlist of thumbs-up selections (reshuffled each time)
- playlist avoidance of thumbs-down songs/artists
- total random playlist (reshuffled each time)
- Create/Delete/Edit playlists
- "Playlists" tab to manage playlists
roymond.com | songfights | covers
"Any more chromaticism and you'll have to change your last name to Wagner!" - Frankie Big Face
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Lunkhead »

I just added a site-wide search popup available from the top navigation, to make it easier to find fights, artists, and songs. There's an autocomplete box for artists, an autocomplete box for fights, and a search form for songs with fields for artist name and fight title.

Roymond, thanks for checking it out and for signing up. It looks like I've got about 20 legit signups. I'm going to add some more basic navigation (like newer/older fight links on the fight page) then start thinking about features for logged in users.
User avatar
fluffy
Eruption
Posts: 11029
Joined: Sat Sep 25, 2004 10:56 am
Instruments: sometimes
Recording Method: Logic Pro X
Submitting as: Sockpuppet
Pronouns: she/they
Location: Seattle-ish
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by fluffy »

I don't suppose there's a way to change one's password?
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Lunkhead »

What, you don't like your randomly generated gibberish password? But it's so secure! Seriously, though, there is no way to change your password yet. Logging in doesn't really get you anything either, at this point. I mostly just put the registration and login there to see if anybody would sign up...
User avatar
fluffy
Eruption
Posts: 11029
Joined: Sat Sep 25, 2004 10:56 am
Instruments: sometimes
Recording Method: Logic Pro X
Submitting as: Sockpuppet
Pronouns: she/they
Location: Seattle-ish
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by fluffy »

OH NO NOW YOU KNOW MY EMAIL ADDRESS

Actually one cool thing you could do with user profiles is have a way of listing your various Song Fight band names and so on (possibly with a "role" in the case of groups), in addition to the usual linking to one's own website(s) and whatever. And then that'd give a way for people to explore connections between artists.
User avatar
roymond
Beat It
Posts: 5188
Joined: Sat Sep 25, 2004 3:42 pm
Instruments: Guitars, Bass, Vocals, Logic
Recording Method: Logic X, MacBookPro, Focusrite Scarlett 2i2
Submitting as: roymond, Dangerous Croutons, Intentionally Left Bank, Moody Vermin
Pronouns: he/him
Location: brooklyn
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by roymond »

fluffy wrote:And then that'd give a way for people to explore connections between artists.
Yes, I would LOVE this. Plus, make iTunes, Napster and every other music service work this way :)
roymond.com | songfights | covers
"Any more chromaticism and you'll have to change your last name to Wagner!" - Frankie Big Face
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Lunkhead »

fluffy, you are responsible for an anomaly:

http://sfjukebox.org/songs/so_aggravati ... 0porcupine

So, no features for you. ;)

EDIT: Doh, forgot to release a code change, wait a minute for it to see what I mean.
User avatar
fluffy
Eruption
Posts: 11029
Joined: Sat Sep 25, 2004 10:56 am
Instruments: sometimes
Recording Method: Logic Pro X
Submitting as: Sockpuppet
Pronouns: she/they
Location: Seattle-ish
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by fluffy »

Hey, I had originally submitted them as 'fluffy porcupine 1' 'fluffy porcupine 2' and 'fluffy porcupine 3'. Spud later changed that to "fix" the archive.
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Lunkhead »

roymond wrote: - total random playlist (reshuffled each time)
You can get lists of random songs like this:

http://sfjukebox.org/songs/random?numSongs=50
http://sfjukebox.org/songs/random.m3u?numSongs=50

If you put in a big enough number (e.g. 10000) you can have a random list of all the songs in the archive, though that kind of thing takes a very long time to load.
User avatar
roymond
Beat It
Posts: 5188
Joined: Sat Sep 25, 2004 3:42 pm
Instruments: Guitars, Bass, Vocals, Logic
Recording Method: Logic X, MacBookPro, Focusrite Scarlett 2i2
Submitting as: roymond, Dangerous Croutons, Intentionally Left Bank, Moody Vermin
Pronouns: he/him
Location: brooklyn
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by roymond »

Sam - on my iPad, when I play a random list, and any other time that tiny, itty bitty player that is almost an <hr> is used instead of the larger one, it seems we can't play songs by touching their line.  I have to use the player controls. Something on the page doesn't let you play a song by touching its row. 
roymond.com | songfights | covers
"Any more chromaticism and you'll have to change your last name to Wagner!" - Frankie Big Face
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Lunkhead »

Oh, right. I haven't overhauled the pages with the thin player yet. You still have to double-click on the row to get the song to play on those. There's a tooltip explaining that if you hover over the row, but of course you can't hover because you're on a touchscreen. Doh.
User avatar
Spud
Hot for Teacher
Posts: 4770
Joined: Fri Sep 24, 2004 10:25 am
Instruments: Bass, Keyboards, eHorn
Submitting as: Octothorpe
Location: Seattle
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Spud »

Lunkhead wrote:fluffy, you are responsible for an anomaly:

http://www.bozos.com/sf/songs/so_aggrav ... 0porcupine
What is the anomoly?
"I only listen to good music. And Octothorpe." - Marcus Kellis
Song Fight! The Rockening
User avatar
fluffy
Eruption
Posts: 11029
Joined: Sat Sep 25, 2004 10:56 am
Instruments: sometimes
Recording Method: Logic Pro X
Submitting as: Sockpuppet
Pronouns: she/they
Location: Seattle-ish
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by fluffy »

I had three versions of the same song in "So Aggravating." Presumably the anomaly is that on the player it's impossible to select just one of them, because of the lack of any sort of item normalization and Sam's use of the artist-title as the unique item key instead of something more appropriate such as file URL.
User avatar
Lunkhead
You're No Good
Posts: 8106
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Lunkhead »

It's an anomaly because if it weren't for that one time one could safely assume that (title + artist name) uniquely identifies a song in the archive. Instead (title + artist name) might identify 1 or more songs in a fight by an artist.

But this wouldn't be fun without the anomalies! ;) Speaking of which, it looks like there are still issues with X<sub>0</sub>:

http://www.songfight.org/songpage.php?k ... d_you_know
http://www.songfight.org/artistpage.php ... rtkey=date

If artist names are going to contain HTML you should probably make sure that all <s and >s in HTML tags in artist names are really <s and >s and not <s and &gts;s (and that all &s are &s not just raw &s). And the artist key can have <s and >s in it, as those are valid characters in a URL. (Also, you can encode an ampersand in a URL by using %26, rather than _.)

I'm not trying to be a smartass, just trying to help out.
User avatar
Spud
Hot for Teacher
Posts: 4770
Joined: Fri Sep 24, 2004 10:25 am
Instruments: Bass, Keyboards, eHorn
Submitting as: Octothorpe
Location: Seattle
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Spud »

I appreciate your not being a smart ass. I really do.
"I only listen to good music. And Octothorpe." - Marcus Kellis
Song Fight! The Rockening
User avatar
roymond
Beat It
Posts: 5188
Joined: Sat Sep 25, 2004 3:42 pm
Instruments: Guitars, Bass, Vocals, Logic
Recording Method: Logic X, MacBookPro, Focusrite Scarlett 2i2
Submitting as: roymond, Dangerous Croutons, Intentionally Left Bank, Moody Vermin
Pronouns: he/him
Location: brooklyn
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by roymond »

Spud wrote:I appreciate your not being a smart ass. I really do.
Well, he only said he wasn't trying to be one.
roymond.com | songfights | covers
"Any more chromaticism and you'll have to change your last name to Wagner!" - Frankie Big Face
User avatar
Spud
Hot for Teacher
Posts: 4770
Joined: Fri Sep 24, 2004 10:25 am
Instruments: Bass, Keyboards, eHorn
Submitting as: Octothorpe
Location: Seattle
Contact:

Re: The Unofficial Song Fight! Jukebox

Post by Spud »

Lunkhead wrote:...it looks like there are still issues with X<sub>0</sub>:

http://www.songfight.org/songpage.php?k ... d_you_know
http://www.songfight.org/artistpage.php ... rtkey=date
I believe that the archive now consistently shows the band name the way the artist prefers it. The key, on the other hand, is x0.
"I only listen to good music. And Octothorpe." - Marcus Kellis
Song Fight! The Rockening
Post Reply