[3.2][Audio] Add a limiter of 500 to the Visible queue (#3279)

* Add a limited of 500 to the Visible queue and somce asyncio sleep every n tracks to assist with queue loading so it stops being blocking

* add a text for queue

Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>

* chore

Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>

* add asyncio sleep on playlist queue command

Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>

* Better error handling for large playlists

Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>

* remove files even if it errors

Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
This commit is contained in:
Draper
2020-01-07 21:33:10 +00:00
committed by Michael H
parent 45860ca2a6
commit 17123c1d88
3 changed files with 102 additions and 50 deletions

View File

@@ -0,0 +1 @@
Restrict the number of songs shown in the queue to first 500 to avoid heartbeats.