Giter Site home page Giter Site logo

Comments (4)

massar avatar massar commented on August 26, 2024

This was caused by a confusion between the uppercase 'name' and lowercase 'format', some of the name variants where wrong.

Note that "mpd_load" would be ambigues, is it loading a file, a config etc, that is why it is called 'mpd_plst_load' to not make it too long.

Resolved per:
347b306

from empcd.

ldolse avatar ldolse commented on August 26, 2024

The logic makes sense, but the problem with that is it doesn't work:
[ debug] /etc/empcd.conf@0095: key KEY_1 UP mpd_plst_load numkey_one
[ debug] Undefined Function at 9 in 'KEY_1 UP mpd_plst_load numkey_one'

And then empcd exits. That was when I looked at the code and tried mpd_load and discovered that it did work - so I just changed the docs to match what was actually working.

from empcd.

massar avatar massar commented on August 26, 2024

Please do test against the latest version and/or provide at least a snippet of the config file (maybe some weird char got into it? the config file reader is not the smartest of them...)

Also try the full debug with:
./empcd -f -y 10

I've updated the configuration file handling just now so that that error reporting should be better and also a 'nompd' mode for running empcd without a connection to MPD making it a dumb keyboard presser

from empcd.

ldolse avatar ldolse commented on August 26, 2024

The debug messages were from the commit right after you closed it. I just pulled the latest commits and those have resolved it. Thanks!

from empcd.

Related Issues (9)

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.