Re: statusbar got frozen?

Tuomo Valkonen <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
On 2008-02-12, sunway <[email protected]> wrote:
> I have noticed that after 13 times calling of "echo ..|nc localhost
> 6600" in get_mpd_status(), `ps aux|grep nc`  shows that "sh -c echo ..|nc localhost 6600"
> sleeping forever, so I use "mpc" instead of "echo|nc" to get mpd info, it
> seems work quite well

One should just use luasocket, to avoid executing programs 
all the time. And ioncore.popen_bgread instead io.popen
stops one monitor listening to a hung program from hanging
the whole statusd.

Of course, I also recommend moc(p), which doesn't demand
a bloated redundant playlist library, but provides good
support for your existing filing system -- the directory
hierarchy.

-- 
Tuomo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.