41ae06e19a
Fixed bug when song upload HTTP endpoint returns a response of the uploading song with errors
kdeng002019-11-12 22:51:07 -05:00
9b4a0db67a
Added albumArtist field memeber to Song model. Automatically apply disc value 1 for song's metadata that have an empty disc field. Switched from TagLib::FileRef to TagLib::MPEG::File
kdeng002019-11-04 22:26:03 -05:00
8714d76a2a
Changes to response returns when song does not exist. The cause of a segmentation fault
amazing-username2019-10-26 14:23:42 +00:00
e764bc45de
When song is uploaded the response returned is info about the song and a response
kdeng002019-10-22 20:30:43 -04:00
5fefc451d5
Adding coverart id field to Song dto object to return the coverart id that the song is associated with so it is easier to get the cover art
kdeng002019-10-21 21:54:50 -04:00
32ed611112
Authorized endpoints and updated README
kdeng002019-09-25 23:03:38 -04:00
698ccf9099
slight change in README.md
kdeng002019-09-24 22:31:23 -04:00
1b8c28e67b
added user authentication and updated README.md
kdeng002019-09-24 22:29:09 -04:00
e936c2da17
Solved issue where I couldn't retirever a user record from the database. Didn't correctly set the MYSql type to string.
kdeng002019-09-23 21:38:33 -04:00
4bd794c288
Working on User authentication
kdeng002019-09-22 23:57:14 -04:00
89ed9f9252
Updated README.md and completed verification process
kdeng002019-09-20 20:56:24 -04:00
6a5ebc0078
path configuration file is verified at the start of execution
kdeng002019-09-17 20:47:53 -04:00
bb783c61ad
started working on function to verify the configuration settings
kdeng002019-09-16 22:26:17 -04:00
6e570cd495
finished updating song functionality
kdeng002019-09-15 20:57:41 -04:00
9a894487ad
Almost done with updating metadata of song, just need to handle records that have no related records associated with them
kdeng002019-09-15 00:23:08 -04:00
a82e66ff83
Working on updating a song's metadata
kdeng002019-09-13 23:12:09 -04:00
2fdc86e0b3
Figured out how to check if Int32 values from the ObjectWrapper have any values. Just get the pointer of it and see if it is a nullptr
kdeng002019-09-12 21:59:29 -04:00
0a97f695e3
Working on updating a song's metadata
kdeng002019-09-11 22:12:41 -04:00
a00a70029e
Implemented deletion functionality, and lingering records are removed fixes#49kdeng002019-09-10 22:27:28 -04:00
8c1c2340b2
Working on HTTP endpoint to delete songs. Finished with album. Need to work on the Artist, Genre, and Year aspects
kdeng002019-09-09 21:57:04 -04:00
19ddb9be0b
Added song streamingh endpoint and removed redundant making oatpp::String shared when it already is a shared object #61kdeng002019-09-08 18:48:14 -04:00
949abf8244
stream does not contain the whole song, also when the stream is terminated on the client's side, the service crashed on the server side
kdeng002019-09-07 18:30:03 -04:00
fd3a84fbea
Working on streaming the song, running into issues trying to figure this out. Wanted to at least commit the work
kdeng002019-09-07 15:41:38 -04:00
7ec88397c0
Able to retrieve single and multiple records (Album, Artist, Genre, Year)
kdeng002019-09-07 12:00:12 -04:00
e9241cf6a5
Need to work on the ability to fetch records for Artist, Genre, and Year
kdeng002019-09-06 22:38:14 -04:00
de838da040
Can fetch cover art records and download a single cover art
kdeng002019-09-06 22:13:52 -04:00
ada50b3d5c
Still in the process of switching to prepared statements. Left TODO for removing the make_shared_ptr for the raw song data. Added feature to retrieve a sing cover art record in json format
kdeng002019-09-05 20:57:13 -04:00
5b9f2a0505
fix for duplicate records being saved. I'm going to continually monitor it, some minor changes might need to be made. The changes are changing to prepared statements for queries
kdeng002019-09-04 23:48:37 -04:00
d4e9b8c71f
Tidied up code, going to put up the coding convention later on
amazing-username2019-09-04 15:41:43 +00:00
12a53ed2b1
Added some TODO's. Need to switch to prepared statements for album, artist, genre, and year repositories
kdeng002019-09-03 16:15:37 -04:00
c55d8261a2
Added TODO in the albumRepository.cpp on where to pick up from. Short story: duplicate related records
kdeng002019-09-02 20:16:30 -04:00
4306c174b3
Able to save and retrieve records (Artist, Album, Genre, etc.)
kdeng002019-09-02 13:59:49 -04:00
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
kdeng002019-09-01 18:46:02 -04:00
ab3000c2a0
Moved controllers to include directory
kdeng002019-09-01 17:13:31 -04:00
c0fba2c9d8
Move Dto's to Dto in include directory and created Dto namespace
kdeng002019-09-01 17:08:00 -04:00
dfd4906371
Added Utility and Type namespaces
kdeng002019-09-01 16:56:52 -04:00
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
amazing-username2019-08-27 20:13:18 +00:00
ed6f98eb5a
Added song delete endpoint
kdeng002019-08-26 23:10:24 -04:00
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
kdeng002019-08-25 22:21:21 -04:00
fb03354189
Working on downloading the song
kdeng002019-08-25 16:47:52 -04:00
540d665a7e
Can retrieve all song records
kdeng002019-08-25 15:26:47 -04:00
2145adb039
Some clean up for insert song records into the database
kdeng002019-08-25 14:54:09 -04:00
d54715ac25
Able to insert song records into the database. Left TODO for clean up
kdeng002019-08-25 01:30:13 -04:00
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
kdeng002019-08-24 18:41:01 -04:00
9281293fad
Working on interfacing with the database. Could do queryies via string/cstring but I'm going to try prepared statements
kdeng002019-08-23 23:16:42 -04:00
764185da7d
Able to save song and cover art to the appropriate paths. Next is saving it to the database
kdeng002019-08-22 22:40:49 -04:00
592853695d
Added paths.json file that contain paths
kdeng002019-08-22 19:49:17 -04:00
2a8290a929
Added script to create database
kdeng002019-08-21 07:09:39 -04:00
51d40f270d
Tricky implementing taglib's APIC extracting/saving feature, but I got it. Left some TODO's on where to pick up #56kdeng002019-08-11 17:51:42 -04:00
023c467a9d
Fixed issue where stock cover art was not correctly being copied
kdeng002019-08-11 16:10:18 -04:00