Commit Graph
100 Commits
Author SHA1 Message Date
Kun DengandGitHub dd995269df Merge pull request #60 from kdeng00/experiment
Switching to C++
2019-09-03 16:17:19 -04:00
kdeng00 12a53ed2b1 Added some TODO's. Need to switch to prepared statements for album, artist, genre, and year repositories 2019-09-03 16:15:37 -04:00
kdeng00 c55d8261a2 Added TODO in the albumRepository.cpp on where to pick up from. Short story: duplicate related records 2019-09-02 20:16:30 -04:00
kdeng00 4306c174b3 Able to save and retrieve records (Artist, Album, Genre, etc.) 2019-09-02 13:59:49 -04:00
kdeng00 fafb39326b Left off at adding album record to the database and retrieving the album record to assign the album id to the song record's album id foreign key 2019-09-01 18:46:02 -04:00
kdeng00 ab3000c2a0 Moved controllers to include directory 2019-09-01 17:13:31 -04:00
kdeng00 c0fba2c9d8 Move Dto's to Dto in include directory and created Dto namespace 2019-09-01 17:08:00 -04:00
kdeng00 dfd4906371 Added Utility and Type namespaces 2019-09-01 16:56:52 -04:00
kdeng00 1ec3511bc5 Added Controller namespace 2019-09-01 16:16:06 -04:00
kdeng00 f75ebe14a7 Added manager classes for song metadata 2019-09-01 15:10:46 -04:00
kdeng00 d16b8dc3c9 Added Manager namespace 2019-09-01 14:14:46 -04:00
kdeng00 d44a5bb1bc Added Model namespace 2019-09-01 13:54:16 -04:00
kdeng00 1255aa0ff7 track and disc numbers are now part of the song's metadata and saved to the database 2019-08-28 22:16:33 -04:00
kdeng00 b885e3d2c8 Ok 2019-08-27 20:33:00 -04:00
amazing-username d0d1008044 Fixed bug that caused a failure in retrieving records. Empty directories are deleted when deleting a song. If the song contains the stock cover art, the stock cover art will not be deleted 2019-08-27 20:13:18 +00:00
kdeng00 ed6f98eb5a Added song delete endpoint 2019-08-26 23:10:24 -04:00
kdeng00 48e97e7cd1 Added support for saving downloading song. It doesn't work outside of curl from the command line. The response body is empty, I'll look into it 2019-08-25 22:21:21 -04:00
kdeng00 fb03354189 Working on downloading the song 2019-08-25 16:47:52 -04:00
kdeng00 540d665a7e Can retrieve all song records 2019-08-25 15:26:47 -04:00
kdeng00 2145adb039 Some clean up for insert song records into the database 2019-08-25 14:54:09 -04:00
kdeng00 d54715ac25 Able to insert song records into the database. Left TODO for clean up 2019-08-25 01:30:13 -04:00
kdeng00 1db3eb2f8c Cover art record saved in the database. Next is to save the song record to the database and then try to download the song afterwards 2019-08-24 18:41:01 -04:00
kdeng00 9281293fad Working on interfacing with the database. Could do queryies via string/cstring but I'm going to try prepared statements 2019-08-23 23:16:42 -04:00
kdeng00 764185da7d Able to save song and cover art to the appropriate paths. Next is saving it to the database 2019-08-22 22:40:49 -04:00
kdeng00 592853695d Added paths.json file that contain paths 2019-08-22 19:49:17 -04:00
kdeng00 2a8290a929 Added script to create database 2019-08-21 07:09:39 -04:00
kdeng00 92f0d4702b Factoring 2019-08-20 22:45:25 -04:00
kdeng00 e42a551193 Now have to check to see if the token has the correct scope 2019-08-20 19:56:26 -04:00
kdeng00 3e94e0e22e Left some TODO's. Next thing is to check if the token is valid 2019-08-19 22:19:47 -04:00
kdeng00 4072526d35 Able to upload song. Left TODO on what's next 2019-08-18 22:58:04 -04:00
kdeng00 bbd8186114 Added songcontroller, work on uploading a song 2019-08-18 16:44:59 -04:00
kdeng00 e9aa5f799c Added database configuration file 2019-08-18 16:15:47 -04:00
kdeng00 10b546d8b8 removed mysqlconnector c++ submodule. Linking issues, using the C API instead 2019-08-18 16:13:14 -04:00
kdeng00 d26c16aa69 database stuff 2019-08-18 11:57:08 -04:00
kdeng00 5230e69832 more changes 2019-08-17 18:53:50 -04:00
kdeng00 9ae9b08520 changed path of jwt-cpp submodule 2019-08-17 16:17:43 -04:00
kdeng00 0fc16daf86 Tying something out 2019-08-17 16:04:54 -04:00
kdeng00 533a8d81a9 Finished up #55 2019-08-13 21:05:11 -04:00
amazing-username 4d59b311e6 Removed TagLib# and RestSharp dependencies. Updated README.md 2019-08-13 14:38:34 +00:00
amazing-username a561ab0642 Fixed bug where user was not being authenticated 2019-08-13 14:08:03 +00:00
kdeng00 f0a50ba70a Implemented TokenManager #57 2019-08-13 00:11:04 -04:00
kdeng00 da8d4a9002 Implemented #56 2019-08-11 23:24:23 -04:00
kdeng00 51d40f270d Tricky implementing taglib's APIC extracting/saving feature, but I got it. Left some TODO's on where to pick up #56 2019-08-11 17:51:42 -04:00
kdeng00 023c467a9d Fixed issue where stock cover art was not correctly being copied 2019-08-11 16:10:18 -04:00
kdeng00 ea25480ad1 #56 2019-08-10 12:40:26 -04:00
kdeng00 5b19cdaa46 Working on #56 2019-08-10 01:03:52 -04:00
kdeng00 16f0c1aed0 Minor changes to metadata reading 2019-08-08 21:31:13 -04:00
kdeng00 ead71da802 Working on migrating metadata over to c++ 2019-08-08 18:40:15 -04:00
kdeng00 47723c7d94 Starting to switch Metadata portion to c++. Switching from TagLibSharp to Taglib (c++) 2019-08-06 22:51:20 -04:00
kdeng00 02bc671883 Code cleanup, removed some unused dependencies, adding more to C++ lib. #54 and #55 2019-08-05 23:47:43 -04:00
kdeng00 1531cad134 Handling song being moved on the c++ side #55 2019-08-04 17:08:49 -04:00
kdeng00 610d4fb08d Contining work on #55 2019-08-04 14:25:45 -04:00
amazing-username 15948c4783 Directories are created using C++ when a song is uploaded 2019-08-04 14:04:40 +00:00
kdeng00 2d984813ec Updated Entity Framework to 2.2.6, Removed PrintCredentials() Method call on login, working on #55 2019-08-03 14:26:18 -04:00
kdeng00 d80842e517 Changed song streaming to use only FileStream instead of FileStream and MemoryStream 2019-07-29 20:59:22 -04:00
amazing-username 2c3152a9a5 Added functionality to retrieve cover art records in json format 2019-07-29 01:07:16 +00:00
amazing-username 3948e25fc3 Incorrect method call for logging fixed 2019-07-20 01:47:16 +00:00
amazing-username a39c232c34 Added logging for cover art functionality 2019-07-17 20:15:07 -04:00
amazing-username 8ec7092272 Implemented Cover Art functionality #50 #52 2019-07-16 20:44:53 -04:00
amazing-username 84615472ef Cover art image gets deleted when the song has been deleted #50 2019-07-15 22:12:49 -04:00
amazing-username e4be56101a Added functionality to save the stock cover art to a song if the song does not contain a cover art #50 2019-07-14 22:40:49 -04:00
amazing-username 59895af3b4 Can download a cover art via the cover art's id. Just need to have a stock cover art for songs without any and update the documentation. #50 2019-07-13 16:04:39 -04:00
amazing-username 1004f6c93d Can successfully save the coverart record, now need to work on downloading the cover art #50 2019-07-13 10:13:15 -04:00
amazing-username 026a528a81 Cover art functionality added. Left TODO's on where to continue on. #50 2019-07-12 23:13:32 -04:00
amazing-username 226ca44206 Mover Cover Art work. #50 2019-07-11 23:15:45 -04:00
amazing-username 4940768d22 All the necessary functionality for the Cover Art repo added #51 2019-07-10 17:54:17 -04:00
amazing-username f7963237fd Added TODO's for checking if Cover art already exists. Added functionality in DirectoryManager to switch to the CoverArt path when explicitly request, otherwise defaults to the music root path. Added skeleton function for CoverArtRepository in the CoverArtRepository and SongManager 2019-07-09 21:03:52 -04:00
amazing-username 0ee1473639 Finished Cover art repository #51 2019-07-09 19:44:40 -04:00
amazing-username 2b59bfac32 Updates to the Cover art repository #51 2019-07-08 18:42:44 -04:00
amazing-username 0932be2f2b Added but did not complete the repository for cover art, updated migration script to create migration for CoverArt, and prepping for the cover art api 2019-07-07 15:02:38 -04:00
amazing-username 82686f5c33 Added cover art path to json files #53 2019-07-07 11:05:53 -04:00
amazing-username b5501e323f Added a cover art model. Better to do it now and not wait til later 2019-07-06 22:26:55 -04:00
amazing-username 089bd1191c Adding Cover art support #50 2019-07-05 20:37:38 -04:00
amazing-username 56fe805f80 Code cleanup and conforming to a coding covention 2019-07-04 17:19:40 -04:00
amazing-username ada8fa79d3 Cleaning up code convention inconsistencies 2019-07-04 15:57:43 -04:00
Kun DengandGitHub bc209c2363 Update README.md
#30
2019-06-23 13:11:55 -04:00
Kun DengandGitHub 0e19bc35e4 Update README.md
#30
2019-06-23 13:09:40 -04:00
amazing-username 344acc9078 Added images for configuration #30 2019-06-22 20:56:49 -04:00
Kun DengandGitHub 9bf858b3bc Update README.md
#30
2019-06-18 21:36:23 -04:00
Kun DengandGitHub d7197971f0 Update README.md 2019-06-17 22:54:43 -04:00
Kun DengandGitHub 60e414805a Update README.md 2019-06-16 11:43:55 -04:00
amazing-username 59d3d47df7 Fixed issue where Genre records were not being retrieved and added scope permissions for Genre and Year endpoints 2019-06-16 15:17:39 +00:00
amazing-username e1614adfad Cleaned up some warnings, and fixed issue where no Year records were being retrieved #37 2019-06-16 10:56:37 -04:00
amazing-username d85197c313 Discovered issue preventing the retrieval of artists or an artist 2019-05-31 01:29:29 +00:00
amazing-username a2b7271498 Added grant permissions for streaming songs #7 2019-05-29 00:25:17 +00:00
amazing-username 42facee883 Added versioning to the API, created namespace for the Reposiorites, Changed the StoreContexts to Repositories, moved the Contexts class to another namespace. #37 2019-05-28 23:36:56 +00:00
amazing-username 9ad620db06 Last commit broke the code. Namespace issue. 2019-05-26 22:07:14 +00:00
amazing-username a772627abc Did some preliminary streaming tests from an mobile app and the functionality works. it is a little rough but it can be smoothed out. Created manager classes to abstract functionality from the SongManager class. #7 2019-05-26 22:04:30 +00:00
amazing-username 05a33d4d9e Added functionality to stream a song. I just need to test it. #7 2019-05-26 00:59:32 +00:00
amazing-username 801a60e631 Song's id no longer changed when updating the song #48 2019-05-25 22:19:14 +00:00
amazing-username c8578ae8c8 Song Count for corresponding tables are calcuated when retrieved #47 2019-05-25 20:48:40 +00:00
amazing-username e1627b04b9 The SongCount field is not mapped during migrations. Working on changes to the StoreContext classes. These changes will calculate the song count for the album, artist, genre, and year records when querying data. The other change is to check to see if the record exist in the first place before querying using a left join. #47 2019-05-25 03:06:04 +00:00
amazing-username dd89b97997 Song and the corresponding tables will be deleted if there are not song related to the tables. #44 2019-05-25 00:50:30 +00:00
amazing-username f9e66f416d #7 2019-05-23 22:13:56 -04:00
amazing-username 90c28dc38a Created API Controller class to stream the song. I also moved the part in the code where it is stripping out the metadata from the song file to create a Song object t when uploading a song. It could have caused a conflict with reading the metadata which it was doing.This did not happen while developing on Linux but presented itself on Windows 10. #7 2019-05-23 22:13:37 -04:00
amazing-username 0cf1bf1c2d Added functionality to delete empty directorie after updating songs #45 2019-05-22 20:37:14 -04:00
amazing-username d4c3d94d1a Able to update the song's metadata and move the old song file to a new path and delete the old song path. Need to imlement functionality to revert changes incase something goes wrong. #37 2019-05-21 22:03:34 -04:00
amazing-username 346609b7bd Fixed bug where the album directory not being created when uploading a song. Working on moving the song to a new path when the artist or album has been changed. Running into issue with only one process is permitted to have access to the file. #43 and #37 2019-05-20 20:02:19 -04:00
amazing-username e30f80d7d5 Changes to the song's metadata reflect in the database. Now the location on the filesystem has to match the updated metadata. #37 2019-05-20 08:57:24 -04:00
amazing-username ada7939866 Resolved issue with Song record being deleted after updating the metadata records. #37 2019-05-20 00:56:51 -04:00