-
-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Description
The Spotify search results shown in OTS usually contain many items that are not really relevant to the search term. I decided to try adding filters to the results to display only results that were truly relevant. Of course people will have different views on what is relevant but currently I have applied the following filters, all of which are case insensitive and include allowing 'The' to precede the term, so searching for 'eagles' will include 'the eagles' etc.:
Tracks: Keep only tracks where either title or artist contains the search term (with or without "the ")
Albums: Keep only Albums where either artist name or album name matches search term (with / without 'the')
Playlists: Keep only Playlists where playlist name contains search term (with / without 'the')
Using these filters results in more relevant items and removes a lot of unrelated items.
What do people think about the filters? Are they too severe? Should they be changed?
Once I have a consensus I would be happy to submit a PR (Which branch should I submit to?).
Metadata
Metadata
Assignees
Labels
Projects
Status