Merge rPF46ceab2b4ce0: T357: Remove tildes from the classifier's fulltext matcher.

This commit is contained in:
Kelvin Zhang 2015-09-10 12:50:44 +01:00
parent 0db774aadd
commit b846475f4f

View file

@ -75,7 +75,7 @@ class ClassifyMLPMA extends Command
// Original, show song remix, fan song remix, show audio remix, or ponified song?
//==========================================================================================================
$sanitizedTrackTitle = $parsedTags['title'];
$sanitizedTrackTitle = str_replace(['-', '+', 'ft.', '*'], ' ', $sanitizedTrackTitle);
$sanitizedTrackTitle = str_replace(['-', '+', '~', 'ft.', '*'], ' ', $sanitizedTrackTitle);
$queriedTitle = DB::connection()->getPdo()->quote($sanitizedTrackTitle);
$officialSongs = ShowSong::select(['id', 'title'])