26
« on: June 16, 2012, 09:18:21 am »
Another thing I haven't seen in this thread yet:
User plays song.
Audiosurf sends local ID3 tags to server.
Server generates internal string and sends back the leaderboard.
Local ID3 tags are shown on top of it.
So far, so good.
But:
How are songs displayed when using the website? Like, looking at other player's profiles. You can't use the internal string, so you need to add an artist, title and maybe album field to the database to output these instead. But since there are lots of title variants that give the same internal string, we need a way to determine the 'correct' one. One way is adding these tags the first time someone played the song. But there's one problem with that. Example:
The correct tag is Yann Tiersen - J'y suis jamais allé.
The first user that rides this song has incorrect tags: yann tiersen - jy suis jamais alle
And since he's the first user, his f'd up tags will be submitted and displayed on the website.
How is that currently handled?