playlist/metadata: do not crash whilst connecting2013-09-28T04:35:32ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-28T04:35:32Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=59f1734f1a863c8082c2a65b5f479cb6aea9651c
playlist/metadata: do not crash whilst connecting
If we haven't connected yet, then "mpc" won't be available.
Don't kill ourselves over it.
only 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.
controls: fix display of volume/position when values are unknown2013-09-03T18:10:56ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-03T18:10:56Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=999ae517c6544938a712422c9dd3cc210a319ebd
controls: fix display of volume/position when values are unknown
Like when mpd is stopped and you connect for the first time.
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
playlist: add ability to play an item2013-09-01T20:32:30ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T20:32:30Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=17ac93ed65c5212d5cf6ecbac17b718738d82c00
playlist: fix display, and let people delete items2013-09-01T20:16:51ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T20:16:51Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=9cb957ede33364c6ba1b19529050a24cd2aa8f5f
playlist: fix display, and let people delete items
controls: add shortcut keys for a bunch of items2013-09-01T20:16:02ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T20:16:02Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=ee26ebe43d89016c3014e030041e363e337f4ff5
metadata: add a bit more info to the tab2013-09-01T09:29:50ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T09:29:50Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=e9aee305f74ecbec9552d21836c50609cab6d954
tcp-client: allow caller to force pulling of more data2013-09-01T09:25:32ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T09:25:32Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=0a3a435e6ad8fcd1232675e09a07baa73be09497
tcp-client: allow caller to force pulling of more data
When we get a burst of data that fills up the buffer, we don't want to
delay 500 msecs for the buffer to refill. So let the caller force a
fresh pull of data when it knows it is expecting more.
show current volume/time in tooltips2013-09-01T08:32:36ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T08:32:36Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=92ef863031eb48baaee057efda818d874ce31451
update with full state now2013-09-01T08:25:04ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T08:25:04Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=dbb156e5bb0fd040691865421cb039d8df74aaf4
update with full state now
Since mpc will pass us a fully merged state object, use that rather than
returning early assuming we have just a partial state.
add helpful tip to people who find the console2013-09-01T08:23:57ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T08:23:57Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=4ed31ba857752d2d550dde24200a751574ffce8f
have sliders send updates immediately (like when using the mouse)2013-09-01T06:27:52ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-09-01T06:27:52Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=ea13f13a1c11e84f8de064bba91b6aa331a18007
have sliders send updates immediately (like when using the mouse)
fix NaN check2013-08-25T02:08:11ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-08-25T02:08:11Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=2ff2c6c19a379a1ea3ab25038fadb17cc9a104c4
fix parse error when mpd is in stopped state due to the time field not being included2013-08-24T07:09:06ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-08-24T07:09:06Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=a7204fc7d572e685cf591ccc941c35f8ff7cf322
fix parse error when mpd is in stopped state due to the time field not being included
add refresh option for updating the gui automatically2013-08-24T07:08:44ZMike Frysingervapier@gentoo.orgMike Frysingervapier@gentoo.org2013-08-24T07:08:44Zhttps://git.wh0rd.org/?p=chrome-ext/music-player-client.git;a=commitdiff;h=0c6612195aad9b50879223c510e47df0725ec6d4
add refresh option for updating the gui automatically