@Elv13 wanted me to add this to the recipes section. Suggestions for further improvements welcome. I did a quick test of this and it actually works. ;-)
Compared to other implementations that I saw, I think I deserve bonus points for not using io.popen("mpc"). Further bonus points for being asynchronous.
Edit: I don't want to, but do I have to add a screenshot of this? I would say that the result is quite boring, but others might disagree
Edit: With the above I mean "add a screenshot of the resulting widget to the page" and not what I did in the next comment where I made a screenshot of the web page.
Signed-off-by: Uli Schlachter psychon@znc.in
@Elv13 wanted me to add this to the recipes section. Suggestions for further improvements welcome. I did a quick test of this and it actually works. ;-)
Compared to other implementations that I saw, I think I deserve bonus points for not using
io.popen("mpc")
. Further bonus points for being asynchronous.Edit: I don't want to, but do I have to add a screenshot of this? I would say that the result is quite boring, but others might disagree Edit: With the above I mean "add a screenshot of the resulting widget to the page" and not what I did in the next comment where I made a screenshot of the web page.