-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPD widget acting up. #9
Comments
Working as usual here. Maybe is just a Lua caching issue. I've committed a fix, so If it's still acting up, try adding
before
in your Let me know. |
Nope, still acting up. This also occurs even when mpd is paused btw. |
You should provide me more info on how you're using it, then. Since I'm using it with my copland config, with no such issue. |
Using the multicolor config. All vanilla. No edits too the code in the MPD widget, nor in lain. |
I still got no problems, even with vanilla multicolor. I don't know if this may help, but I committed a little change to the curl call within the worker function. Otherwise, are you sure sure your MPD is properly set? Try out with my mpd configs. Of course, you have to modify the paths accordingly. |
Getting the same issue - both with a default copland config and my own powerarrow variant. 2nd fix had no effetc, either. |
I don't know what could cause this. 😢 I still think it may be a caching problem, I'll try something concrete later. |
I might have a hint. I checked the output of your curl query with a simple bash loop:
And tested some usual mpd usage (pausing, track change, etc.) before canceling the loop. There's one important difference: In the new mpd version, "currentsong" is not showing in each query. |
You are right. I found out this is affecting a lot of MPD-based programs too, like Sonata. For the moment, I committed a semi-fix: it should remove the "acting up" behaviour. About I'll work on a solution as soon as they answer me properly. |
Awesome! 👍 |
Thanks for your efforts so far. 👍 Another thing I noticed: There also seems to be a problem with the state value grabbed from Even if |
I submitted a bug report here. Add your feedback so they can notice it better. |
I managed to find a (somewhat ugly) workaround. This seems to do the trick. Note that this ignores the password parts (I don't use any with my mpd) but I guess it can be added as another |
Good idea, I implemented it in 3a0aba5. Cheers, blueluke. 🍻 I'll be back on this if MPD people update me, but for now I consider the issue closed. |
After the recent update too MPD, the widget have started to act up. Displaying N/A and turning on and off. Sometimes displaying the correct information.
The text was updated successfully, but these errors were encountered: