Commit Graph

18 Commits

Author SHA1 Message Date
Kevin Whitaker
161e408a47 Implement vote sending to backend. Have trackdetails spit out a msotly complete audiotrack for voting. Fix voting to actually modify list. Fix js code to not break on songs with apostrophes. 2017-02-19 10:31:52 -05:00
Kevin Whitaker
de6a151fd0 Clean up some things. Make skip vote longer. Put in js that should show notifications for skip requests. 2017-02-18 23:13:13 -05:00
Kevin Whitaker
cc8c4bcb7e Implement basics of voting ui. Change vote selection code to also inject cover before putting in list. Make sure player sends winning track to highlight on client. 2017-02-18 22:23:09 -05:00
Kevin Whitaker
25e4961f1a Remove some of old styling for new bootstrap css. 2017-02-18 17:20:09 -05:00
Kevin Whitaker
6d038acf56 Use bootstrap theme. Remove progressbar css that no longer applies. 2017-02-18 16:08:16 -05:00
Kevin Whitaker
289c1790a7 Implement UI for track skipping. 2017-02-18 15:48:13 -05:00
Kevin Whitaker
cb393b0c0d Uncomment user actions and fix by finding active DB object instead of converting dead one. Use font-awesome to make icons for buttons. Implement rest of basic logic for login page. Some style fixings. Start adding skip controls. 2017-02-18 14:25:52 -05:00
Kevin Whitaker
b101657669 Have timer run and update progressbar to show playing track state. 2017-02-16 20:30:05 -05:00
Kevin Whitaker
53bc31ebb9 Start implementing web UI. Add track detail container. Comment out some old test code and DB code while more gets hooked up. Play/pause button is mostly implemented. 2017-02-15 00:47:58 -05:00
Kevin Whitaker
41fa567f82 Add untested play/pause event code and change web interface to know which happened. 2017-02-08 23:22:34 -05:00
Kevin Whitaker
35279008ee Redo events so that the event can have needed info alongside it. Make sure when computer is picking tracks if no votes that it doesn't pick a song that just played if possible. Fix mislabeled method. Implement untest admin skip and vote code. 2017-02-08 23:05:13 -05:00
Kevin Whitaker
cb5b2f7ad6 Stop using pointers from DB as storage mechanism. Start storing copies of the object itself. Use commits after methods are done with transaction to hopefully help with DB issues. Don't use map because it requires too much about the key object I don't need. Add boolean that prevents vote end from being called constantly during it's 3 second window. 2017-02-05 18:20:03 -05:00
Kevin Whitaker
dff7fa145d Fix music dir being set in bad place again. Update web calls that backend calls to match const requirements. Have playlist and player part of backend class now for better handling. Set up getting first vote list and sending. 2017-02-04 14:15:18 -05:00
Kevin Whitaker
ad26e8351f Add more UI events and get backend threaded up. 2017-01-29 19:39:30 -05:00
Kevin Whitaker
ab4df84657 Added base of code to allow sending backend updates to connected clients. 2017-01-29 17:27:27 -05:00
Kevin Whitaker
22f1b90238 Add interface class to represent player interface. Have simple hide/show animation between. Put up more interface elements on login interface to show inteded ui. 2017-01-28 16:51:14 -05:00
Kevin Whitaker
a60e2a0c34 Make GroovePlayer a singleton to avoid being created for each browser. Add login UI component to eventually hold landing screen. Actually start server with initial interface. 2017-01-28 00:56:22 -05:00
Kevin Whitaker
093f74a846 Add basic classes for application. Move source around and properly fix up build system to link and use correct c++ compiler version. 2017-01-27 22:44:36 -05:00