Open JadeTank opened 1 month ago
@zananashi The issue appears to come from the fact that you just have too many combinations of genres in your library. Im not sure if theres a great way to fix this without rewriting the way the 'Edit Genre' menu is handled as a whole, but as a stopgap measure for now you should be able to fix the issue for now like this:
Replace line 1917 for (var i = 0; i < g_genre_cache.genreList.length; i++) {
With this for (var i = 0; i < g_genre_cache.genreList.length && i < 100; i++) {
This means you probably won't see all the genres, and you can try increasing the number from 100 if you need to see more, but it ll stop the WinAPI from running out of handles
@zananashi The issue appears to come from the fact that you just have too many combinations of genres in your library. Im not sure if theres a great way to fix this without rewriting the way the 'Edit Genre' menu is handled as a whole, but as a stopgap measure for now you should be able to fix the issue for now like this:
Replace line 1917
for (var i = 0; i < g_genre_cache.genreList.length; i++) {
With thisfor (var i = 0; i < g_genre_cache.genreList.length && i < 100; i++) {
This means you probably won't see all the genres, and you can try increasing the number from 100 if you need to see more, but it ll stop the WinAPI from running out of handles
Sorry for the late reply, I've totally forgotten to. This totally fixed it!
Originally posted by @zananashi in https://github.com/Ottodix/Eole-foobar-theme/issues/292#issuecomment-2075184804