Commit graph

883 commits

Author SHA1 Message Date
Andrew Kelley
ad06da8569 faster queuing of random tracks 2012-01-27 15:46:37 -08:00
Andrew Kelley
0366101db2 speed up response time by anticipating what to do, misc additions
the tests are too brittle. I'm going to let them rot for now.
add remove from playlist button
random mix adds a random song to playlist
repopulate doesn't clear
playlist is a <table>
2012-01-27 14:59:46 -08:00
Andrew Kelley
3b60827ecf ability to remove playlist item 2012-01-27 13:00:36 -08:00
Andrew Kelley
bfe2e83675 slider niceties 2012-01-27 04:06:09 -08:00
Andrew Kelley
c5ac7ea970 smoother seeker bar 2012-01-27 03:43:38 -08:00
Andrew Kelley
999c3dcb32 hide seeker bar when not in use 2012-01-27 03:27:18 -08:00
Andrew Kelley
77545d0ce9 slider seeking works 2012-01-27 03:15:34 -08:00
Andrew Kelley
bb41bb9caf repopulate is super slow... but it works 2012-01-27 02:39:04 -08:00
Andrew Kelley
ead4bd7a1b test for getting random songs quickly 2012-01-27 02:28:00 -08:00
Andrew Kelley
601891f625 Repopulate button adds a random track to playlist 2012-01-27 02:22:23 -08:00
Andrew Kelley
168e791920 fix a test issue, add tests for pausing, unpausing, clear playlist 2012-01-27 00:43:25 -08:00
Andrew Kelley
a49db41d6e fix tests to not run in parallel and screw each other up 2012-01-26 23:49:15 -08:00
Andrew Kelley
96f89ea392 more responsive playback buttons 2012-01-26 23:28:13 -08:00
Andrew Kelley
f9060b5d57 improve adding tracks to playlist test 2012-01-26 22:31:19 -08:00
Andrew Kelley
d0b6645638 fix race condition in groovebasind and add tests
* test clear playlist
* test add tracks to playlist
* test stop playback
2012-01-26 22:17:22 -08:00
Andrew Kelley
d05ea87836 fix indent 2012-01-26 21:19:27 -08:00
Andrew Kelley
f3550cd462 improve test harness and add tests
* Mpd has removeEventListeners
* fix Mpd::close
* test remove event listeners
* test get artist list and detailed info
* test getting current track status
* disconnect from mpd when done testing
2012-01-26 21:15:16 -08:00
Andrew Kelley
107e7ff6bb tests for multiple instances and getting artist list 2012-01-26 18:48:51 -08:00
Andrew Kelley
1cafa6dcdb test for connection to mpd 2012-01-26 16:48:39 -08:00
Josh Wolfe
3893f718f7 implementing the Clear button 2012-01-26 17:18:01 -07:00
Andrew Kelley
4f8d7467c6 moving the debug box back 2012-01-26 16:13:09 -08:00
Andrew Kelley
05de0c63ae test harness 2012-01-26 16:02:40 -08:00
Josh Wolfe
8d7dc1c9cf not relying on Id being defined for library listings 2012-01-26 16:04:53 -07:00
Josh Wolfe
b954bc9206 client-side msg debugging ability 2012-01-26 15:48:48 -07:00
Josh Wolfe
6d4d542d8a checking for and autostarting mpd daemon 2012-01-26 13:57:06 -07:00
Josh Wolfe
d0a44d55bc ability for playlist to have duplicates 2012-01-26 07:07:56 -07:00
Andrew Kelley
45a2e46d05 smoother slider and don't slide when paused 2012-01-26 06:05:46 -08:00
Andrew Kelley
25edfa1375 read-only track position slider 2012-01-26 05:56:41 -08:00
Josh Wolfe
35039ffbfa make console box not so tall 2012-01-26 05:48:15 -07:00
Andrew Kelley
c3a50b2819 fix playback buttons borked 2012-01-26 04:39:44 -08:00
Andrew Kelley
71be12e645 fix playlist not showing up when stopped 2012-01-26 04:35:01 -08:00
Andrew Kelley
74d0d76458 handle case when playlist is empty 2012-01-26 04:03:06 -08:00
Andrew Kelley
9ae91ea814 use jquery ui 2012-01-26 03:55:43 -08:00
Andrew Kelley
15ff2d754e indent list items 2012-01-26 01:27:27 -08:00
Andrew Kelley
97959690e9 make it work when mpd is stopped 2012-01-26 01:18:36 -08:00
Andrew Kelley
05d60f8efc add stop method to mpd 2012-01-26 00:41:16 -08:00
Andrew Kelley
d26bcd9159 upgrade jQuery to 1.7.1, use delegates for click events 2012-01-26 00:31:12 -08:00
Andrew Kelley
b76b23ed20 add sass support and YUI reset 2012-01-26 00:03:09 -08:00
Andrew Kelley
272eafb4b7 display current track info in window title 2012-01-25 23:25:33 -08:00
Andrew Kelley
d6a293a9be display current song info, live updated 2012-01-25 22:59:18 -08:00
Andrew Kelley
c30c116f8c idling is implemented.
debug box at the bottom is now broken though.
2012-01-25 05:13:55 -08:00
Andrew Kelley
19e19b53fa raise event when add to playlist 2012-01-25 02:00:12 -08:00
Andrew Kelley
75ac3ce3e2 cleanup. doNothing -> noop 2012-01-25 01:58:21 -08:00
Andrew Kelley
6ade36db72 escape double quotes in commands to mpd 2012-01-25 01:53:15 -08:00
Andrew Kelley
7d8c5fbbaf socket.io auto discovery so we don't need config
also fix queuing
2012-01-25 01:44:23 -08:00
Andrew Kelley
9926a2e0a9 ability to read external config; organize dependencies 2012-01-25 01:28:24 -08:00
Andrew Kelley
d8b90c1b99 License under MIT 2012-01-24 23:27:32 -08:00
Andrew Kelley
478301b68d use playlistinfo command instead of deprecated playlist command 2012-01-24 23:04:24 -08:00
Andrew Kelley
366dbe189d refactor Mpd class
* stores cache of library data
* merges updates with cache
* emits relevant events
2012-01-24 03:56:29 -08:00
Andrew Kelley
b16c52966d organize Mpd class into private / public sections 2012-01-23 20:07:39 -08:00