]>
git.wh0rd.org Git - chrome-ext/music-player-client.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mike Frysinger [Sat, 28 Sep 2013 05:06:10 +0000 (01:06 -0400)]
tcp-client: do not leak sockets
If one object has connect() called more than once (like when reconnecting),
make sure we destroy the previous socket rather than leaking it.
Mike Frysinger [Sat, 28 Sep 2013 05:01:59 +0000 (01:01 -0400)]
tcp-client: handle connection errors
If a connection fails, we get back the resultCode, but we never actually
check it. That means we lie to the higher layers and say we're connected
when we're not really.
Also pass that code to the higher levels if they've requested notification.
Mike Frysinger [Sat, 28 Sep 2013 04:56:40 +0000 (00:56 -0400)]
tcp-client: do not create multiple read pollers
If we have connect() called multiple times, don't leave the previous read
poller running. This can happen when someone does connect(); connect();.
Along those lines, also kill the poller when we disconnect().
Mike Frysinger [Sat, 28 Sep 2013 04:36:43 +0000 (00:36 -0400)]
controls: fix hotkeys when focusing elements
If you're trying to type into a text field, then we don't want to steal
the keypresses to switch tabs.
Mike Frysinger [Sat, 28 Sep 2013 04:35:32 +0000 (00:35 -0400)]
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.
Mike Frysinger [Tue, 10 Sep 2013 20:00:05 +0000 (16:00 -0400)]
playlist: fix handling of undefined currentsong
If we don't yet have currentsong info, don't try to parse it.
Mike Frysinger [Tue, 3 Sep 2013 18:18:17 +0000 (14:18 -0400)]
only refresh metadata/playlist tabs when the underlying data has changed
This avoids rewriting a lot of HTML code upon a normal state refresh.
Mike Frysinger [Tue, 3 Sep 2013 18:10:56 +0000 (14:10 -0400)]
controls: fix display of volume/position when values are unknown
Like when mpd is stopped and you connect for the first time.
Mike Frysinger [Sun, 1 Sep 2013 20:48:58 +0000 (16:48 -0400)]
images: update screenshot
Mike Frysinger [Sun, 1 Sep 2013 20:37:54 +0000 (16:37 -0400)]
auto-reconnect when we get an error
Mike Frysinger [Sun, 1 Sep 2013 20:32:30 +0000 (16:32 -0400)]
playlist: add ability to play an item
Mike Frysinger [Sun, 1 Sep 2013 20:16:51 +0000 (16:16 -0400)]
playlist: fix display, and let people delete items
Mike Frysinger [Sun, 1 Sep 2013 20:16:02 +0000 (16:16 -0400)]
controls: add shortcut keys for a bunch of items
Mike Frysinger [Sun, 1 Sep 2013 19:30:08 +0000 (15:30 -0400)]
controls: swap play/stop buttons to match classic winamp layout
Mike Frysinger [Sun, 1 Sep 2013 10:49:46 +0000 (06:49 -0400)]
mpc: fix seekcur definition
Mike Frysinger [Sun, 1 Sep 2013 10:46:59 +0000 (06:46 -0400)]
playlist: new tab (very basic)
Mike Frysinger [Sun, 1 Sep 2013 10:46:31 +0000 (06:46 -0400)]
mpc: handle ACK responses
Mike Frysinger [Sun, 1 Sep 2013 09:29:50 +0000 (05:29 -0400)]
metadata: add a bit more info to the tab
Mike Frysinger [Sun, 1 Sep 2013 09:27:34 +0000 (05:27 -0400)]
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.
Mike Frysinger [Sun, 1 Sep 2013 09:27:04 +0000 (05:27 -0400)]
mpc: add playlist commands apis
Mike Frysinger [Sun, 1 Sep 2013 09:25:32 +0000 (05:25 -0400)]
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.
Mike Frysinger [Sun, 1 Sep 2013 09:25:15 +0000 (05:25 -0400)]
tcp-client: update API URLs
Mike Frysinger [Sun, 1 Sep 2013 08:32:36 +0000 (04:32 -0400)]
show current volume/time in tooltips
Mike Frysinger [Sun, 1 Sep 2013 08:25:04 +0000 (04:25 -0400)]
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.
Mike Frysinger [Sun, 1 Sep 2013 08:24:17 +0000 (04:24 -0400)]
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.
Mike Frysinger [Sun, 1 Sep 2013 08:23:57 +0000 (04:23 -0400)]
add helpful tip to people who find the console
Mike Frysinger [Sun, 1 Sep 2013 06:27:52 +0000 (02:27 -0400)]
have sliders send updates immediately (like when using the mouse)
Mike Frysinger [Sun, 1 Sep 2013 06:18:05 +0000 (02:18 -0400)]
mpc: split up log levels
Mike Frysinger [Sun, 25 Aug 2013 02:39:35 +0000 (22:39 -0400)]
compile javascript files with the closure compiler
Mike Frysinger [Sun, 25 Aug 2013 02:09:02 +0000 (22:09 -0400)]
mpc: add more api funcs
Mike Frysinger [Sun, 25 Aug 2013 02:08:11 +0000 (22:08 -0400)]
fix NaN check
Mike Frysinger [Sat, 24 Aug 2013 07:09:06 +0000 (03:09 -0400)]
fix parse error when mpd is in stopped state due to the time field not being included
Mike Frysinger [Sat, 24 Aug 2013 07:08:44 +0000 (03:08 -0400)]
add refresh option for updating the gui automatically
Mike Frysinger [Sat, 24 Aug 2013 07:07:06 +0000 (03:07 -0400)]
mpc: move logging to object level and turn it off by default
Mike Frysinger [Sat, 24 Aug 2013 07:06:46 +0000 (03:06 -0400)]
mpc: fix typo in setting up crossfade()
Mike Frysinger [Tue, 20 Aug 2013 04:30:26 +0000 (00:30 -0400)]
initial extension