Giter Site home page Giter Site logo

tmpc's People

Contributors

guillaumecl avatar

Stargazers

 avatar

Watchers

 avatar  avatar

tmpc's Issues

Separate song_widget into a model and a view

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.

UI freezes while tmpc is requesting data

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).

Fix libpng icon warnings

Some warnings are given when libpng parses the icons.

Apparently, this comes from the png files, which should be fixed.

Crop the queue to the current search

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)

Close tmpc when the focus is lost ?

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.

Negative filters

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:

๐Ÿง‘โ€๐ŸŽจred hot,-:album:freaky styley

Allow to select and visualize playlists

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.

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.