Here is my first try. Submitted for discussion mostly. Most of the code should be self-evident.
Minor note on CheckIsXxx routines: GLib implements those differently, but these IMO still correct and easy to understand. http://git.musicpd.org/cgit/dk/mpd.git/commit/?id=cccddf7c38398a5653f67a266d0a99f4e0d95f33 -- Denis ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team