2017-08-09, 19:16
I have the same issue. Imho the list handling routines are not good designed.
Currently I'm debugging the code getting the performance leaks.
One is as in Playlist.cpp in "void CPlayList::Add" here -> "AnnounceAdd(item, iPosition);"
I just comment it out, and it's getting a way better. No clue about possible consequences at this time.
Next weak spot is GUIMediaWindow.cpp in "bool CGUIMediaWindow::OnPlayAndQueueMedia" here -> "g_playlistPlayer.Add(iPlaylist, nItem);"
Maybe the devs can have an eye on that.
btw, I'm testing with >300.000 files in one playlist. So the weak spots are easy to find in this case.
Currently I'm debugging the code getting the performance leaks.
One is as in Playlist.cpp in "void CPlayList::Add" here -> "AnnounceAdd(item, iPosition);"
I just comment it out, and it's getting a way better. No clue about possible consequences at this time.
Next weak spot is GUIMediaWindow.cpp in "bool CGUIMediaWindow::OnPlayAndQueueMedia" here -> "g_playlistPlayer.Add(iPlaylist, nItem);"
Maybe the devs can have an eye on that.
btw, I'm testing with >300.000 files in one playlist. So the weak spots are easy to find in this case.