Code Monkey home page Code Monkey logo

Comments (2)

JadeTank avatar JadeTank commented on July 22, 2024

@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

from eole-foobar-theme.

zananashi avatar zananashi commented on July 22, 2024

@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

Sorry for the late reply, I've totally forgotten to. This totally fixed it!

from eole-foobar-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.