You are not logged in.

#1 2011-02-28 20:43:47

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

[SOLVED] Conky-Lua and mpd question

I'm trying to create a ring using a conky lua script, but mpd_percent in the lua script returns 0.  So far the only thing I could think of was that I needed to add mpd_host and mpd_port to the .conkyrc file, which I've done.  These work (I've tried just the normal function).  I also know the lua file works for the clock I have set up.  If there is any more information that anyone requires to solve this, I'll happily supply it.

*EDIT* Solved.  The working scripts can be found here for anyone who has a similar issue:

http://pastebin.com/iZFdZAeg
http://pastebin.com/zkVVHkYk

Basically, I moved the MPD stuff into a new file because part of the ring was hidden under another conky instance (which is why I thought only part of it was being drawn).  As for the actual MPD percentage working, I don't think I changed anything there.

Last edited by lswest (2011-03-05 16:13:55)


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

Board footer

Powered by FluxBB