git.wh0rd.org - chrome-ext/music-player-client.git/atom - js/mpc.js historyChrome Extension: https://chrome.google.com/webstore/detail/empibeblplajighpdgkaohlnhhcgpndhhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.gitvapierstatic/git-favicon.pngstatic/git-logo.png2013-09-03T18:18:17Zgitwebonly refresh metadata/playlist tabs when the underlying data has changed2013-09-03T18:18:17ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-03T18:18:17Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=3a55dda47c0031b6706d1b1c45092c7766047da4
only refresh metadata/playlist tabs when the underlying data has changed
This avoids rewriting a lot of HTML code upon a normal state refresh.
auto-reconnect when we get an error2013-09-01T20:37:54ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T20:37:54Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=8d64e317943a529b96a15d4d12f0af368a92e043
mpc: properly handle responses that spread multiple buffers2013-09-01T09:27:34ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T09:27:34Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=1ae37b168ff7cb59761b0c7c6a13f9f8b93b7cf7
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.
mpc: merge old state with new state2013-09-01T08:24:17ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T08:24:17Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=f5b43479dc2259c3582e264fe04276f852bb4139
mpc: merge old state with new state
Since mpd will, when it is stopped, return garbage or nothing at all for
many values, we need to filter/merge the results so the player looks sane.
mpc: add more api funcs2013-08-25T02:09:02ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-08-25T02:09:02Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=024ea28421ec5d9c88f80ac11403da6c43a40e6a
mpc: move logging to object level and turn it off by default2013-08-24T07:07:06ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-08-24T07:07:06Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=4d3d4e033797321526bac19c1b79b5753afacfea
mpc: move logging to object level and turn it off by default
mpc: fix typo in setting up crossfade()2013-08-24T07:06:46ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-08-24T07:06:46Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=f5ed7157515b1aa6ca9bb0d70818bb1e43139200