slouchybutton / deadbeef-media-library Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
There are some things that would need changing and which are not crossplatform.
This also includes planned inotify and would have to be replaced with win32 fileio API (https://learn.microsoft.com/en-us/windows/win32/fileio/obtaining-directory-change-notifications)
Cover arts are cached, but the time it takes to iterate through all the MediaFiles and Albums and load the cached images into Pixbufs takes too much time.
Maybe experiment with serialization of Pixbufs, so it would load together with MediaLibrary from file via serialization.
If this is not possible, or viable, add a progress bar to inform users that something is actually happening.
Double-clicking does not import the album itself, rather the whole folder in which the files from album are located in.
I think it would be logical to be able to search the library via metadata, such as by genre. The implementation is up to you, but maybe adding a button to select which metadata, or via key in the search input, so something like: "genre:metal".
Since all images are now loaded into object, we keep both jpg/bmp images and pixbuf in memory at the same time.
Maybe unload images from memory when data is successfully saved and load back for another save?
Also, maybe don't keep cover images for individual tracks, because we do not show them anywhere anyway (yet?)
Use inotify to invoke import immediately when kernel detects modification of path in library paths.
Had this idea, and this will be way faster than checking for file changes every X seconds.
There were so many changes in so short timespan and so many different tweaks and workarounds, that it would be worth to look at how to refactor main media library wrapping object and especially the controller for the library.
Controller should probably be moved from single file to folder and split.
@duzda Said he might eventually look into it. This is very low prio, but should be done eventually.
This is mainly stuff from GUI subfolder.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.