anyaudio / anyaudio-server

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

Adds auto suggestion #80

Closed ansarimofid closed 8 years ago

ansarimofid commented 8 years ago

Adds auto suggestion feature and fixes #71

aviaryan commented 8 years ago

Bugs -

  1. Auto-suggest doesn't work in the search box at /beta
  2. Lots of results are fetched when searching something at /explore . Example, try searching "taylor swift love story cover", writing each word slowly. I guess this is because previous results are not being cleared.

Suggestions -

  1. Show all playlists in the playlist list that comes when you are about to search. Use a scrollbar to keep the size under control. (https://s21.postimg.org/vy2h5x1vb/pop_playlists.png)
  2. Don't send a /search request to server when the query is being typed. Send a request only when the user presses enter.
aviaryan commented 8 years ago

Lots of results are fetched when searching something at /explore . Example, try searching "taylor swift love story cover", writing each word slowly. I guess this is because previous results are not being cleared.

No actually previous requests to /search are being buffered and so the search results list keeps on increasing. Following my suggestion 2 should fix this issue.

singhpratyush commented 8 years ago

Hello @ansarimofid, glad to see the autocomplete working. Please consider these points too -

Don't send a /search request to server when the query is being typed.

:+1:

aviaryan commented 8 years ago

Have all the issues been fixed ? @ansarimofid

aviaryan commented 8 years ago

Merging ..

ansarimofid commented 8 years ago

Not all the issues has been fixed. Some are still in progress like

  • arrow navigation
  • When pressing back at /explore, we do not go back at /beta but at /explore?p=... or /explore?q=.... I think that this problem existed earlier too but wasn't noticed. Pleased resolve.
  • Show all playlists in the playlist list that comes when you are about to search. Use a scrollbar to keep the size under control.
singhpratyush commented 8 years ago

@ansarimofid : I will open issues for them.