digimezzo / dopamine

The audio player that keeps it simple
https://digimezzo.github.io/site/
GNU General Public License v3.0
1.55k stars 111 forks source link

[bug]white screen after adding and refreshing a folder to the collection #416

Open ghost opened 1 year ago

ghost commented 1 year ago

I installed dopamine 3 in my arch linux, when i try to add a folder to the collection I get a white screen after refreshing

digimezzo commented 1 year ago

The issue was narrowed down to better-sqlite3 in combination with Electron 22 (Electron 21 and below work correctly). It is most likely caused by this issue: https://github.com/WiseLibs/better-sqlite3/issues/988

Short term solution: revert to Electron 21 Long term solution: use another, preferably Javascript (so no compilation is needed) library like https://rxdb.info/electron-database.html or https://dexie.org/. Note: this will break compatibility with Dopamine 2.

Some advise about local databases on Reddit :https://www.reddit.com/r/electronjs/comments/lei8b1/electron_local_database/

Another option: https://jsstore.net/

digimezzo commented 3 months ago

Could this be an option? https://github.com/ironboy/best-sqlite3