GithubHelp home page GithubHelp logo

slow when lot of folers about botamusique HOT 4 CLOSED

azlux avatar azlux commented on June 6, 2024 1
slow when lot of folers

from botamusique.

Comments (4)

TerryGeng avatar TerryGeng commented on June 6, 2024

Sorry I haven't fixed this yet. I'm currently working on it.

from botamusique.

LDelOff avatar LDelOff commented on June 6, 2024

I think there is a solution to this problem.
Let the bot create a "database" which will contain information about all the music files.
For example, you can create a table like the one below:
image
You need to create a function: scan files.
During its execution, the database will be supplemented.

Most likely this will speed up the process of finding a file, adding a folder to the playlist.

from botamusique.

TerryGeng avatar TerryGeng commented on June 6, 2024

Yes, a database is a good idea. And it is the very reason that I choose sqlite3 in this version in place of the db.ini in the past. Now with powerful sqlite3 I think I can really construct a music library that stores the titles, thumbnails, and paths of songs.

And maybe you can save multiple playlists in the database and query them out when you need them.

I can imagine many cool features with help from the database. Plus, if you have any other suggestions, you are welcome to bring them up. In think in the next version we will have a music library ready. Do please look forward to it :-).

from botamusique.

TerryGeng avatar TerryGeng commented on June 6, 2024

Added in #91.

from botamusique.

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.