41ae06e19a
Fixed bug when song upload HTTP endpoint returns a response of the uploading song with errors
kdeng00
2019-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
kdeng00
2019-11-04 22:26:03 -05:00
c7bbdfe581
Code clean up
kdeng00
2019-11-03 13:03:32 -05:00
8714d76a2a
Changes to response returns when song does not exist. The cause of a segmentation fault
amazing-username
2019-10-26 14:23:42 +00:00
e764bc45de
When song is uploaded the response returned is info about the song and a response
kdeng00
2019-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
kdeng00
2019-10-21 21:54:50 -04:00
32ed611112
Authorized endpoints and updated README
kdeng00
2019-09-25 23:03:38 -04:00
698ccf9099
slight change in README.md
kdeng00
2019-09-24 22:31:23 -04:00
1b8c28e67b
added user authentication and updated README.md
kdeng00
2019-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.
kdeng00
2019-09-23 21:38:33 -04:00
4bd794c288
Working on User authentication
kdeng00
2019-09-22 23:57:14 -04:00
89ed9f9252
Updated README.md and completed verification process
kdeng00
2019-09-20 20:56:24 -04:00
6a5ebc0078
path configuration file is verified at the start of execution
kdeng00
2019-09-17 20:47:53 -04:00
bb783c61ad
started working on function to verify the configuration settings
kdeng00
2019-09-16 22:26:17 -04:00
6e570cd495
finished updating song functionality
kdeng00
2019-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
kdeng00
2019-09-15 00:23:08 -04:00
a82e66ff83
Working on updating a song's metadata
kdeng00
2019-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
kdeng00
2019-09-12 21:59:29 -04:00
0a97f695e3
Working on updating a song's metadata
kdeng00
2019-09-11 22:12:41 -04:00
a00a70029e
Implemented deletion functionality, and lingering records are removed fixes#49
kdeng00
2019-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
kdeng00
2019-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 #61
kdeng00
2019-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
kdeng00
2019-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
kdeng00
2019-09-07 15:41:38 -04:00
7ec88397c0
Able to retrieve single and multiple records (Album, Artist, Genre, Year)
kdeng00
2019-09-07 12:00:12 -04:00
e9241cf6a5
Need to work on the ability to fetch records for Artist, Genre, and Year
kdeng00
2019-09-06 22:38:14 -04:00
de838da040
Can fetch cover art records and download a single cover art
kdeng00
2019-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
kdeng00
2019-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
kdeng00
2019-09-04 23:48:37 -04:00
d4e9b8c71f
Tidied up code, going to put up the coding convention later on
amazing-username
2019-09-04 15:41:43 +00:00
dd995269df
Merge pull request #60 from kdeng00/experiment
Kun Deng
2019-09-03 16:17:19 -04:00
12a53ed2b1
Added some TODO's. Need to switch to prepared statements for album, artist, genre, and year repositories
kdeng00
2019-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
kdeng00
2019-09-02 20:16:30 -04:00
4306c174b3
Able to save and retrieve records (Artist, Album, Genre, etc.)
kdeng00
2019-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
kdeng00
2019-09-01 18:46:02 -04:00
ab3000c2a0
Moved controllers to include directory
kdeng00
2019-09-01 17:13:31 -04:00
c0fba2c9d8
Move Dto's to Dto in include directory and created Dto namespace
kdeng00
2019-09-01 17:08:00 -04:00
dfd4906371
Added Utility and Type namespaces
kdeng00
2019-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-username
2019-08-27 20:13:18 +00:00
ed6f98eb5a
Added song delete endpoint
kdeng00
2019-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
kdeng00
2019-08-25 22:21:21 -04:00
fb03354189
Working on downloading the song
kdeng00
2019-08-25 16:47:52 -04:00
540d665a7e
Can retrieve all song records
kdeng00
2019-08-25 15:26:47 -04:00
2145adb039
Some clean up for insert song records into the database
kdeng00
2019-08-25 14:54:09 -04:00
d54715ac25
Able to insert song records into the database. Left TODO for clean up
kdeng00
2019-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
kdeng00
2019-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
kdeng00
2019-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
kdeng00
2019-08-22 22:40:49 -04:00
51d40f270d
Tricky implementing taglib's APIC extracting/saving feature, but I got it. Left some TODO's on where to pick up #56
kdeng00
2019-08-11 17:51:42 -04:00
023c467a9d
Fixed issue where stock cover art was not correctly being copied
kdeng00
2019-08-11 16:10:18 -04:00
a39c232c34
Added logging for cover art functionality
amazing-username
2019-07-17 20:15:07 -04:00
8ec7092272
Implemented Cover Art functionality #50#52
amazing-username
2019-07-16 20:44:53 -04:00
84615472ef
Cover art image gets deleted when the song has been deleted #50
amazing-username
2019-07-15 22:12:49 -04:00
e4be56101a
Added functionality to save the stock cover art to a song if the song does not contain a cover art #50
amazing-username
2019-07-14 22:40:49 -04:00
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
amazing-username
2019-07-13 16:04:39 -04:00
1004f6c93d
Can successfully save the coverart record, now need to work on downloading the cover art #50
amazing-username
2019-07-13 10:13:15 -04:00
026a528a81
Cover art functionality added. Left TODO's on where to continue on. #50
amazing-username
2019-07-12 23:13:32 -04:00
226ca44206
Mover Cover Art work. #50
amazing-username
2019-07-11 23:15:45 -04:00
4940768d22
All the necessary functionality for the Cover Art repo added #51
amazing-username
2019-07-10 17:54:17 -04:00
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
amazing-username
2019-07-09 21:03:52 -04:00