mpc: properly handle responses that spread multiple buffers
authorMike Frysinger <vapier@gentoo.org>
Sun, 1 Sep 2013 09:27:34 +0000 (05:27 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 1 Sep 2013 09:27:34 +0000 (05:27 -0400)
commit1ae37b168ff7cb59761b0c7c6a13f9f8b93b7cf7
tree11d63bb4205d90c8ab55689df8a51b158ae0c29b
parent60d8b85a1a317d5226a3537d8a78e91138d6395d
mpc: properly handle responses that spread multiple buffers

When using commands like playlistinfo, the result is much larger than a
single buffer can handle.  So handle merging multiple buffers.
js/mpc.js