Coder Social home page Coder Social logo

Comments (9)

laclaro avatar laclaro commented on September 23, 2024

A huge plug for this!

from ympd.

laclaro avatar laclaro commented on September 23, 2024

I figured that you have to add these things to the C-source to be able to display this information in the web frontend as they are not yet requested by ympd.
But in this case I end up with an unstable ympd which crashes on accessing the playlist if there are more than a couple of songs in the queue. Maybe the JS-object gets too large. I hope that I'll be able to dig a bit further soon.

http://s14.directupload.net/images/141110/mkzm24ux.png

from ympd.

robotanarchy avatar robotanarchy commented on September 23, 2024

Cool, that you are working on this laclaro! 👍

from ympd.

laclaro avatar laclaro commented on September 23, 2024

I got it. The instability was caused by the direct use of some tag-fetching function. This left the value undefined whenever the tag was not present (->crash).

It would be favorable to be able to choose which tags to display as columns. This would require us to pull every tag field within mpd_client.c to be able to add columns flexible in JS.

For now, you have to recompile if you wish to have another column order, or more or less columns. You should be able to learn from the patch file where you would have to change things.

For browse-view in mpd.js: make sure you always have the same number of html-columns for playlist, song and dir types (by adding or removing empty ones in dir and playlist).

I created a pull request. Check it out here: #43

best regards
Henning

from ympd.

robotanarchy avatar robotanarchy commented on September 23, 2024

very nice 👍 👍 👍 lets see what @notandy says to this :)

from ympd.

nebbishOne avatar nebbishOne commented on September 23, 2024

+1 from me. Thanks for considering this idea.

from ympd.

robotanarchy avatar robotanarchy commented on September 23, 2024

@nebbishOne: Well, the last reply to this thread was more than a year ago. So I think it is not likely that anyone is working on this feature anymore. If you really want it, you could try to hack it in yourself and do a pull request :)

from ympd.

SuperBFG7 avatar SuperBFG7 commented on September 23, 2024

@nebbishOne: Have a look at my fork, I included the proposed pull request.

from ympd.

Blum avatar Blum commented on September 23, 2024

👍 This is a must-have for me. Great job folks!

from ympd.

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.