* Somewhere around Lua 5.1 math.mod() was renamed math.fmod(). Added a check for...
commit29ceb55369a9338c213121fc6b85fd72fd0d9027
authorJeff Backus <jeff.backus@gmail.com>
Sun, 4 May 2014 22:34:21 +0000 (4 18:34 -0400)
committerJeff Backus <jeff.backus@gmail.com>
Sun, 4 May 2014 22:34:21 +0000 (4 18:34 -0400)
tree6146808a3a7f49906ae2d8711fb26da6c9fbd642
parent624c346b566eed95dd5e019497269a1328ea489d
* Somewhere around Lua 5.1 math.mod() was renamed math.fmod(). Added a check for the original math.mod() before calling.
* Added an comment and an alternate MPD session string to statusd_mpd for situations where the server closes the connection too quickly for the script to properly ascertain server status.
contrib/statusd/statusd_mpd-socket.lua
contrib/statusd/statusd_mpd.lua