anyaudio / anyaudio-server

:musical_note: Simple server to search youtube and give direct audio download and stream links
91 stars 19 forks source link

Non-musical results in search #98

Closed singhpratyush closed 8 years ago

singhpratyush commented 8 years ago

Many times, people get results that are not related to music while making a search on our platform. This happens because we simply perform a Youtube search as of now.

Proposed Solution

To overcome such situations, we can add these suffixes to the search we perform -

and and present the combined result to user.

Performance

Here is an example for search query lamborghini -

Without suffixes

aviaryan commented 8 years ago

It looks like a good idea. I just test using OR in youtube search and it seems to work. Eg > wajah tum ho (full song|remix|song|kareoke|instrumental) . So it won't create any performance issue either. The results look convenient too. Eg, try -

moonlight sonata (full song|remix|song|kareoke|instrumental)
aashiqui 2 (full song|remix|song|kareoke|instrumental|movie songs)
tum hi ho (full song|remix|song|kareoke|instrumental|movie songs)

I think we can implement this feature. On the other hand, we need to carefully pick the words that will be appended. I think the following is sufficient.

(full song|remix|song|kareoke|instrumental|movie songs|album songs)

Views ??

singhpratyush commented 8 years ago

LGTM. Will create a PR.