nuclear icon indicating copy to clipboard operation
nuclear copied to clipboard

Optimize play queue

Open haidang666 opened this issue 4 years ago • 6 comments

According to discord:

Just a really stupid question, when i click on "Add playlist to queue" is it supposed to queue up the ENTIRE playlist? A playlist with like 300 tracks will take forever and use ram like crazy xD Is there any way to just queue them one at a time, automated, of course?

message link

haidang666 avatar Jun 28 '21 07:06 haidang666

An item in the queue is just a string of text. We could virtualize the list though. What's taking up resources is loading the streams. We should stop looking for streams beyond the next 3-5 items, and load them as necessary.

nukeop avatar Jun 28 '21 11:06 nukeop

I have began development on this.

Septimus avatar Jul 08 '21 15:07 Septimus

I haven't seen any activity on this issue, can I work on it?

1lluzi0nzz avatar Dec 03 '21 00:12 1lluzi0nzz

yes, I assigned to you

haidang666 avatar Dec 03 '21 01:12 haidang666

Thank you, will let you know when I have news!

1lluzi0nzz avatar Dec 03 '21 01:12 1lluzi0nzz

To help a little more with what has been a huge issue for me, is that queuing tracks using somewhat slower connections (SDSL here, you can stream full 1080 video streams just fine, but that's the limit), takes a very long time. Especially if you queue multiple tracks, the internet connection is clogged for a very long time, and with about 100 Tracks you will be waiting 10-15 minutes until playback even just starts.

It would be very helpful to queue in such a way that this is taken into consideration, by option, by measured approach, or otherwise. If you just add one track, then load whatever data you require, and then start playback (if desired), playback will be continuous. A bit of wait time really is needed. If that's not there, like today, I can't queue anything other than individual, single tracks.

It might also help to limit the maximum amount of OPEN connections.
In this current state I can't listen to much music unless I always listen to single tracks. Hoping for the best.

jammet avatar Jul 26 '22 08:07 jammet

Happy to say this is finally implemented

nukeop avatar Oct 17 '22 00:10 nukeop