mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Merge rPF46ceab2b4ce0: T357: Remove tildes from the classifier's fulltext matcher.
This commit is contained in:
parent
0db774aadd
commit
b846475f4f
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue