guillaumecl / tmpc Goto Github PK
View Code? Open in Web Editor NEWTiny mpc client. Little frontend for fast search and select songs to an mpd server.
License: GNU General Public License v2.0
Tiny mpc client. Little frontend for fast search and select songs to an mpd server.
License: GNU General Public License v2.0
Useful when linked to #11. This will allow to increase temporarily a set of songs and reset them later.
Space is a good candidate for the key.
Currently, song_widget directly works with pointer objects from mpdpp.
This forces to put pointers inside some custom data.
By moving the handling code to a model, we can remove the need for handling pointers in the graphical code completely. This will reduce memory usage a little (because the songs can be freed once they are processed), but will also make the code clearer and less prone to memory issues.
A slider would be good for that for instance.
Once #2 is done, we can also add a way to save playlists.
Change the font, use some colors (from the current theme if possible)
Currently, tmpc is monothreaded.
We should place the mpd requests to another thread to have a better UI experience. One second step would be to be able to request the result count and request only the actually needed data (would save a lot of bandwidth if we don't actually read data when requesting too much data).
This will allow for example, to search some song on Internet.
Some warnings are given when libpng parses the icons.
Apparently, this comes from the png files, which should be fixed.
Sometimes, I want to listen to a specific album. Cropping the queue to the current search would help.
It would be good if the old playlist could be restored later in some way (like saving the old playlist to a special playlist in mpd and restore it, or into a file on the client)
We should remember when the user manually resized and not resize anything then.
Would behave a bit like dynamic playlists (for example like https://github.com/nhrx/mpdc )
This could or could not be a good idea. Since tmpc typically does not appear as a top level window, it can be tricky to remember if one instance is currently open if its behind something else.
On the other hand, closing when focus is lost would make it annoying to have some focus-stealing app running.
Would help for example to listen to an album while keeping the queue intact for later.
Useful when the content is huge and we know what we want.
Ex: +:uri:/
A key needs to be found for this.
The display widget should be able to be showed on and off, and not take bandwidth when hidden.
Negative filters would be appreciated, it would allow to narrow a search by excluding a specific search.
For example, if I want all songs from the Red hot except Freaky Styley, I'd type:
Playlists are similar to the queue.
We can probably adapt most of the code to work on playlists. We need something that shows the list of playlists, then add the ability to load one.
We could do it with yet a new prefix that would trigger an auto completion on the playlist name. Regular searches could then be added after a comma or another separator.
Currently we can specify environment variables, but sometimes it's just easier to pass arguments to the program.
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.