--- a/examples/beep.lua Mon Mar 23 02:05:20 2009 +0200
+++ b/examples/beep.lua Mon Mar 23 02:05:26 2009 +0200
@@ -1,3 +1,4 @@
+
-- BEEPING ON ALL MESSAGES
beep_enable = false
--- a/examples/jobs.lua Mon Mar 23 02:05:20 2009 +0200
+++ b/examples/jobs.lua Mon Mar 23 02:05:26 2009 +0200
@@ -1,3 +1,4 @@
+
--- JOBS
delayed_jobs = {}
--- a/examples/marking.lua Mon Mar 23 02:05:20 2009 +0200
+++ b/examples/marking.lua Mon Mar 23 02:05:26 2009 +0200
@@ -1,3 +1,5 @@
+
+-- MARKING
marked_jids = {}
--- a/examples/mpd.lua Mon Mar 23 02:05:20 2009 +0200
+++ b/examples/mpd.lua Mon Mar 23 02:05:26 2009 +0200
@@ -1,18 +1,21 @@
--- Requires libsocket
+-- MPD INTERATION
--- TODO:
--- password support
+-- TODO password support
+
+-- library
require 'socket'
+-- public
+
local settings = {
hostname = "localhost",
password = nil,
port = 6600,
}
-mpd = {}
+mpd = { }
-- separator allows split output into records, that are started by any of present in separator keys
-- returns table of field (lowercase) - value records
--- a/examples/transports.lua Mon Mar 23 02:05:20 2009 +0200
+++ b/examples/transports.lua Mon Mar 23 02:05:26 2009 +0200
@@ -1,3 +1,4 @@
+
-- TRANSPORTED BUDDIES AVAILABILITY INDICATION
-- XXX: to option?
--- a/examples/urls.lua Mon Mar 23 02:05:20 2009 +0200
+++ b/examples/urls.lua Mon Mar 23 02:05:26 2009 +0200
@@ -1,3 +1,4 @@
+
-- SAVING URLS TO FILE
hooks_d['hook-message-in'].urls =