Kevin Whitaker
|
8992875180
|
Fix a bug. Add some destructors. comment out one that causes problems.
|
2017-02-22 21:38:37 -05:00 |
|
Kevin Whitaker
|
8bb9728039
|
add config with higher upload limit. Add basic bash run script. Add cmake directives to put these in install location.
|
2017-02-22 20:48:39 -05:00 |
|
Kevin Whitaker
|
8db237cddd
|
Have users have upload permissions. Make sure upload tab only shows up then.
|
2017-02-22 20:40:09 -05:00 |
|
Kevin Whitaker
|
e1dbdf997e
|
Move extension checking into add method. Change scan results to not have booleans and cause issues with switches. Implement moving/checking/adding uploaded track to library.
|
2017-02-22 20:28:30 -05:00 |
|
Kevin Whitaker
|
4233e5fb36
|
Sanity checks. Make sure track isn't in vote batch and remove it from request queue if there.
|
2017-02-22 18:00:54 -05:00 |
|
Kevin Whitaker
|
e5b86cc4df
|
Make sure admin can remove tracks from the collection.
|
2017-02-22 17:45:21 -05:00 |
|
Kevin Whitaker
|
4f2a0c5d4d
|
Finish adding user creation to admin screen.
|
2017-02-21 01:31:07 -05:00 |
|
Kevin Whitaker
|
5a602cddaa
|
Add empty tabs to fill.
|
2017-02-21 00:26:16 -05:00 |
|
Kevin Whitaker
|
fc98ec671a
|
Make sure track path is saved to track view so sending it back won't crash. Keep track of users for requests to implement limited amounts of requests. Implement requesting with limits.
|
2017-02-19 22:21:05 -05:00 |
|
Kevin Whitaker
|
5b89f375b2
|
Implement basics of search using sql like. Now with so much data passing, curtail some object deletions.
|
2017-02-19 21:07:14 -05:00 |
|
Kevin Whitaker
|
8c8a6c30f1
|
Set up basic request layout to fill with logic.
|
2017-02-19 18:17:56 -05:00 |
|
Kevin Whitaker
|
c6c2eccec5
|
Refactor things so less manual layout is done where not needed. Yields proper boostrap panel.
|
2017-02-19 16:40:33 -05:00 |
|
Kevin Whitaker
|
4f2eb8232d
|
Now with more screens about to be added, move main interface to tab widgets.
|
2017-02-19 15:42:34 -05:00 |
|
Kevin Whitaker
|
48a33d31ec
|
Have backend also keep track of users who voted on a track to prevent duplicate voting. Add vote count next to vote button. Make sure these details are correct, event on refresh.
|
2017-02-19 12:43:35 -05:00 |
|
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
|
1b82d58c5e
|
Override css settings messing up vertical alignment.
|
2017-02-19 09:49:35 -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
|
249e34f3c7
|
Try to not have track details eat up more space than they should.
|
2017-02-18 22:40:52 -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
|
d12e2471da
|
Allow changing track bg color easier.
|
2017-02-18 17:24:45 -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
|
1186b7a439
|
Mark a user logged in in DB when successful.
|
2017-02-18 14:39:16 -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
|
c5e979e948
|
Make sql connection public to share same connection pool. Layout calls for user info from DB. Implement login path.
|
2017-02-18 00:27:24 -05:00 |
|
Kevin Whitaker
|
1279143931
|
Add a little animation when changing track details.
|
2017-02-17 20:02:20 -05:00 |
|
Kevin Whitaker
|
0fa26d83f6
|
Start tweaking alignments to make look a little better and take up proper spacing.
|
2017-02-17 19:47:30 -05:00 |
|
Kevin Whitaker
|
167b2f9084
|
add boost in because wt seems to now complain about it. Remove first song change message as it's unlikely anyone will encounter it with other events firing soon after. Start cleaning up some container/layout mess. Implement trackdetails and show this on the play controls.
|
2017-02-16 22:55:14 -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
|
7668a923d8
|
Add code to try and make sure second votable track is different from first. Implement code to handle skip requests in player.
|
2017-02-13 21:47:52 -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
|
39a780cb95
|
Remove lots of DB calls just for getting the current track. Add update call for vote closing. Add some code to try and avoid having current playing track show up in votes again.
|
2017-02-08 21:30:23 -05:00 |
|
Kevin Whitaker
|
1a545af49f
|
Change track DB add method to give more details on failure when it happens.
|
2017-02-08 19:47:35 -05:00 |
|
Kevin Whitaker
|
71a2cd6321
|
Add taglib to project to get extra cover data(and possibly replace libgroove for this function). Remove oggs from accepted files until I can figure out cover data for them better. Add non-persisted field for this to audiotrack object and method to add this data to it in memory.
|
2017-02-08 00:56:32 -05:00 |
|
Kevin Whitaker
|
44df1cf607
|
Have sqlite connection object be pointers to help make sure correct destruction pattern happens.
|
2017-02-06 01:38:12 -05:00 |
|
Kevin Whitaker
|
166443f9ad
|
Test allowing oggs through the scanner. Clean up some transactions on first launch to prevent locking from a uncapped while loop. Also don't start the event loop without 3 tracks or voting can't happen.
|
2017-02-06 00:44:31 -05:00 |
|
Kevin Whitaker
|
dc37ef9e06
|
remove launch scan code I wasn't sure if I wanted.
|
2017-02-05 19:01:24 -05:00 |
|
Kevin Whitaker
|
47670aede8
|
Change percentages to allow a little more chance of different genre.
|
2017-02-05 18:38:31 -05:00 |
|
Kevin Whitaker
|
6882d5ba71
|
Use same next method to make cleaner than increment operator.
|
2017-02-05 18:23:24 -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
|
75c87c41f8
|
Write out event loop buckets. Implement nowplaying and voting to put in enough to be mostly self-running. Remove as much static as possible from groovemgr class to make less of a mess around how things are accessed. Try to solve concurrency issues in DB.
|
2017-02-05 00:04:29 -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
|
9b2783238e
|
Add shutdown path for audio layer. Add basic event loop after setting up groove objects. Fix race condition bug by not setting path first.
|
2017-02-03 00:29:30 -05:00 |
|
Kevin Whitaker
|
685d1828ad
|
add limits to places where offsets to avoid some syntax problems. Rename grooveplayer class to avoid conflict with official libgroove class. Add admin event. Write start of event loop that picks initial song.
|
2017-02-01 22:13:40 -05:00 |
|
Kevin Whitaker
|
a38258a883
|
Add groove player to stuff linked in. Add some vars to hold player events to watch for in event loop. Implement first version of vote picking algorithm.
|
2017-01-31 22:06:58 -05:00 |
|
Kevin Whitaker
|
83efc750eb
|
Add code to add track to DB and remove old ones that are gone. Added fingerprint lib to link for id-ing tracks. Make sure DB is logical after these changes. Change music path due to complaints I don't quite understand.
|
2017-01-30 22:48:13 -05:00 |
|
Kevin Whitaker
|
50f30d494f
|
filesystem support works in c++11, but needs another lib linked. Add some namespacing to make easier to transition to official filesystem lib release. Move static var in wrong place. Add first method ot handle scanning.
|
2017-01-30 00:22:03 -05:00 |
|