From: Leandro Lucarella Date: Tue, 30 Oct 2007 00:32:59 +0000 (-0300) Subject: Added help and license to statusd_mpd.lua. X-Git-Url: https://git.llucax.com/personal/ion3-config.git/commitdiff_plain/5290314db9a9d30cb5bec9ee1a6778c1f2f57e4e Added help and license to statusd_mpd.lua. --- diff --git a/statusd_mpd.lua b/statusd_mpd.lua index b2948f2..e64bfe5 100644 --- a/statusd_mpd.lua +++ b/statusd_mpd.lua @@ -1,7 +1,20 @@ --- statusd for MPD (Music Player Daemon) --- bugs/requests/comments: delirium@hackish.org - --- requires that netcat is available in the path +-- statusd for MPD (Music Player Daemon) using a single persistent connection +-- +-- bugs/requests/comments: Leandro Lucarella +-- +-- Based on statusd_exec.lua from Antti Vähäkotamäki (the async code) and +-- statusd_mpd.lua from delirium@hackish.org (the mpd glue code). +-- +-- Usage is self documented in the default settings section. It provides the +-- same functionality from statusd_mpd.luam from delirium@hackish.org but it +-- uses a single persistent connection to MPD and does better usage from hints +-- (the status is "hinted important" when mpd status or volume change (and +-- optionally, up to important_time seconds from the begining of each song). +-- +-- This is free software; you can redistribute it and/or modify it under +-- the terms of the GNU Lesser General Public License as published by +-- the Free Software Foundation; either version 2.1 of the License, or +-- (at your option) any later version. local defaults={ -- netcat path