$song =~ s/Keep On Movin/Keep On Movin'/;
$song =~ s/So Deep/So Deep (Perfect Sphere Mix)/;
$song =~ s/Aarons Party/Aaron's Party (Come Get It)/;
- $song =~ s/Candy \*/Candy/;
+ $song =~ s/Candy \*/Candy\xe2\x98\x86/;
$song =~ s/www\.blondie girl/www.blonde girl (MOMO Mix)/;
$song =~ s/DXY/DXY!/;
$song =~ s/Burning the floor/Burnin' the Floor/;
# Some HTML -> UTF-8 stuff
$songname =~ s/♥/\xe2\x9d\xa4/g;
$songname =~ s/∀/\xe2\x88\x80/g;
+ $songname =~ s/CANDY★/CANDY\xe2\x98\x86/g; # white star, not black
$songname =~ s/★/\xe2\x98\x85/g;
$songname =~ s/é/\xc3\xa9/g;
$songname =~ s/<sup>2<\/sup>/\xc2\xb2/g;
INSERT INTO roundrandomsongs (tournament, round, parallel, song) VALUES (
(SELECT tournament FROM tournaments WHERE tournamentname='Challenge Cup 1 - 2004'),
1, 1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy'))
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆'))
);
UPDATE rounds SET randomsongs=2 WHERE
tournament=(SELECT tournament FROM tournaments WHERE tournamentname='Challenge Cup 1 - 2004') AND
1, 1,
(SELECT player FROM players WHERE nick='Haggar'),
1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
'f',
7204);
INSERT INTO scores (tournament, round, parallel, player, songnumber, song, chosen, score) VALUES (
1, 1,
(SELECT player FROM players WHERE nick='Ylini'),
1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
'f',
6302);
INSERT INTO scores (tournament, round, parallel, player, songnumber, song, chosen, score) VALUES (
1, 1,
(SELECT player FROM players WHERE nick='Mulefisk'),
1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
'f',
7205);
INSERT INTO scores (tournament, round, parallel, player, songnumber, song, chosen, score) VALUES (
1, 1,
(SELECT player FROM players WHERE nick='Slusk'),
1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
'f',
6465);
INSERT INTO scores (tournament, round, parallel, player, songnumber, song, chosen, score) VALUES (
1, 1,
(SELECT player FROM players WHERE nick='Tom'),
1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
'f',
8480);
INSERT INTO scores (tournament, round, parallel, player, songnumber, song, chosen, score) VALUES (
4, 0,
(SELECT player FROM players WHERE nick='Tom'),
1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
't',
8379);
INSERT INTO roundparticipation (tournament, round, parallel, player, position) VALUES (
1, 3,
(SELECT player FROM players WHERE nick='OJK'),
2,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
't',
8625);
INSERT INTO rounds (tournament, round, randomsongs, chosensongs)
3, 0,
(SELECT player FROM players WHERE nick='OJK'),
1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
't',
8627);
INSERT INTO roundparticipation (tournament, round, parallel, player, position) VALUES (
4, 0,
(SELECT player FROM players WHERE nick='OJK'),
1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
't',
8855);
INSERT INTO roundparticipation (tournament, round, parallel, player, position) VALUES (
7, 0,
(SELECT player FROM players WHERE nick='OJK'),
1,
- (SELECT song FROM songs WHERE lower(title)=lower('Candy')),
+ (SELECT song FROM songs WHERE lower(title)=lower('Candy☆')),
't',
8841);
INSERT INTO roundparticipation (tournament, round, parallel, player, position) VALUES (
INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Burnin\' the Floor'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'double','standard',4);
INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Burnin\' the Floor'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'double','difficult',6);
INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Burnin\' the Floor'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'double','expert',8);
-INSERT INTO songs (title,artist,minbpm,maxbpm) VALUES ('Candy','Luv UNLIMITED',192,192);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','beginner',2);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','standard',4);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','difficult',5);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','expert',8);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'double','standard',4);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'double','difficult',6);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'double','expert',9);
+INSERT INTO songs (title,artist,minbpm,maxbpm) VALUES ('Candy☆','Luv UNLIMITED',192,192);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy☆'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','beginner',2);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy☆'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','standard',4);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy☆'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','difficult',5);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy☆'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','expert',8);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy☆'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'double','standard',4);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy☆'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'double','difficult',6);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Candy☆'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'double','expert',9);
INSERT INTO songs (title,artist,minbpm,maxbpm) VALUES ('Crash!','mr. Brian & The Final Band',200,200);
INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Crash!'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','beginner',3);
INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE title='Crash!'),(SELECT machine FROM machines WHERE machinename='Dancing Stage EuroMix 2'),'single','standard',4);
INSERT INTO machinesongs SELECT ( SELECT song FROM songs WHERE LOWER(title)=LOWER('WILD RUSH (FROM NONSTOP MEGAMIX)') ), ( SELECT machine FROM machines WHERE machinename='DDR Extreme' );
INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('WILD RUSH (FROM NONSTOP MEGAMIX)')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'single','challenge',7);
INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('WILD RUSH (FROM NONSTOP MEGAMIX)')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'double','challenge',7);
-INSERT INTO songs SELECT nextval('songs_song_seq') AS song, 'CANDYâ\98\85' AS title, 'Luv unlimited' AS artist, 0 AS minbpm, 0 AS maxbpm WHERE LOWER('CANDYâ\98\85') NOT IN ( SELECT LOWER(title) FROM songs );
-INSERT INTO machinesongs SELECT ( SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\85') ), ( SELECT machine FROM machines WHERE machinename='DDR Extreme' );
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\85')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'single','standard',4);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\85')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'single','difficult',5);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\85')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'single','expert',8);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\85')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'double','standard',4);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\85')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'double','difficult',6);
-INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\85')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'double','expert',9);
+INSERT INTO songs SELECT nextval('songs_song_seq') AS song, 'CANDYâ\98\86' AS title, 'Luv unlimited' AS artist, 0 AS minbpm, 0 AS maxbpm WHERE LOWER('CANDYâ\98\86') NOT IN ( SELECT LOWER(title) FROM songs );
+INSERT INTO machinesongs SELECT ( SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\86') ), ( SELECT machine FROM machines WHERE machinename='DDR Extreme' );
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\86')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'single','standard',4);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\86')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'single','difficult',5);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\86')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'single','expert',8);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\86')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'double','standard',4);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\86')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'double','difficult',6);
+INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('CANDYâ\98\86')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'double','expert',9);
INSERT INTO songs SELECT nextval('songs_song_seq') AS song, 'COW GIRL' AS title, 'BAMBEE' AS artist, 0 AS minbpm, 0 AS maxbpm WHERE LOWER('COW GIRL') NOT IN ( SELECT LOWER(title) FROM songs );
INSERT INTO machinesongs SELECT ( SELECT song FROM songs WHERE LOWER(title)=LOWER('COW GIRL') ), ( SELECT machine FROM machines WHERE machinename='DDR Extreme' );
INSERT INTO songratings (song,machine,playmode,difficulty,feetrating) VALUES ((SELECT song FROM songs WHERE LOWER(title)=LOWER('COW GIRL')),(SELECT machine FROM machines WHERE machinename='DDR Extreme'),'single','standard',3);