When I try to use Google Play's search functionality to find special characters such as "-", "." or "[" it doesn't filter results by these characters.
How can I search for songs and artists that contain special characters like these?
google-play-music
When I try to use Google Play's search functionality to find special characters such as "-", "." or "[" it doesn't filter results by these characters.
How can I search for songs and artists that contain special characters like these?
Best Answer
You can do this in JavaScript using the
IndexedDB
that Google Play uses. Just change out the "-" below with whatever string (including special characters) that you want to search for.Currently it only searches the track and artist names. If you want it to also search the album, add
t[4].includes(specialChar)
to the if statement. If you want it to also search the genre, add the same thing but using11
.