Commit Graph

64 Commits

Author SHA1 Message Date
kdeng00 45c2bd9572 #93: Making some changes to how the file extension is determined 2024-07-18 15:26:59 -04:00
kdeng00 470b7a953a #93: Created skeleton for saving flac files 2024-07-09 19:09:37 -04:00
kdeng00 bde264fedc #93: Starting work to implement flac support 2024-07-08 19:08:26 -04:00
Kun Deng 4b3fa78336 #95: Id changes to models (#99)
* #95: Updated Id of the CoverArt model

* Model and migration changes
2024-06-21 20:30:23 -04:00
Kun Deng 562bc87822 #74: Add UserID to the Song model (#98)
* #74: Add UserID to the Song model

* #74: Added functionality to retrieve user id from the token

* #74: Songs will now contain the User Id when uploading

* Updated Readme and script to add migrations

* #74: Some cleanup
2024-06-19 15:41:55 -04:00
Kun Deng 270b7d059c #90: Adding functionality to download cover art (#97)
* Added endpoint to download cover art

* Code cleanup

* More cleanup
2024-06-16 18:28:08 -04:00
Kun Deng 23c50de468 Net8 (#89)
* .NET 8 migration

* Fixed bugs with song management

* More cleanup and making some constants

* Updated yml

* Clean up

Removing comments, some cleanup, and moving the startup code into Program.cs

* Removing comments

* Fixed song deletion issue

* Added functionality to delete song directories

* Updated README
2024-06-15 12:17:12 -04:00
kdeng00 c17c9cd329 Migrating to modern c# namespace
Using the short namesapce declaration for conciseness
2023-04-09 12:34:06 -04:00
Kun Deng 665407aac5 Code cleanup 2022-08-27 20:35:34 -04:00
Kun Deng fd0f487615 Runtime fixes
Fixed issues preventing endpoints from successfully completing
2022-08-26 23:09:48 -04:00
Kun Deng d48716a54f Endpoint authorization
Tokens are validated for some of the endpoints. Need to add other measures to rule out bogus tokens.
2022-08-26 18:01:29 -04:00
kdeng00 1b6e70ce12 More cleanup 2021-12-29 14:27:04 -05:00
kdeng00 5669cdbdd0 Code cleanup 2021-12-29 14:13:38 -05:00
kdeng00 3a6e0f64bc New endpoint
New endpoint to upload song with metadata and cover art as separate entities
2021-12-29 14:06:52 -05:00
kdeng00 aa0a1ab5fe Refactoring 2021-12-26 22:17:14 -05:00
kdeng00 b529731c95 Song uploads
Uploading songs is functional and does not use the song metadata for the filename or directory creation
2021-12-25 21:36:42 -05:00
kdeng00 64e6f33d7c Refactoring 2021-12-25 11:28:02 -05:00
kdeng00 023298c6f8 Refactoring 2021-12-24 20:51:15 -05:00
kdeng00 f8d9c8e4a7 Authorization functioning 2021-12-24 16:45:40 -05:00
kdeng00 edaea68296 Functional 2021-12-23 21:10:13 -05:00
kdeng00 8600d9b6bc Updates 2021-12-22 21:33:12 -05:00
amazing-username a39c232c34 Added logging for cover art functionality 2019-07-17 20:15:07 -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 026a528a81 Cover art functionality added. Left TODO's on where to continue on. #50 2019-07-12 23:13:32 -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 56fe805f80 Code cleanup and conforming to a coding covention 2019-07-04 17:19:40 -04: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 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 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 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
amazing-username c9e8e2c6da Continuing work on updating a song's record whenever attributes or metadata are updated. Running into an issue where the Song record is deleted during an update after the other records have been updated (artist record, album record, genre record, etc.). I believe I have narrowed it down to the Genre id and Year Id of the song not being updated. #37 2019-05-19 21:48:03 -04:00
amazing-username 991d2e0d6a Continuing with #37 2019-05-19 02:33:57 -04:00
amazing-username 41398461be Finished API functionality for Genre and Year endpoints. #41 and #42. Working on refining the updating song api route that's part of the clean up issue. #37 2019-05-18 02:09:59 -04:00
amazing-username 30abf31877 Continuing work on the Genre and Year API functionality. It is now working, just need to add it to the api #41 #42 2019-05-17 22:31:57 -04:00
amazing-username d75d2924a7 Working on some code cleanup, I thought I was nearing the end. Eventually leading to working on how to stream songs from the server but more work has to be done. I know I have integrated Auth0 but if this project is to be useful to others without having to configure Auth0 then I would like for it to be usable with a couple commands after cloning the repository. More work has to be done but I am close to the releasing the first version. Will update to the project on Github soon. #37 2019-05-12 21:42:25 -04:00
amazing-username a3c74b50bc Implemented Artist HTTP endpoint functionality. #21 and #26 2019-05-10 22:21:30 -04:00
amazing-username f7d6580253 Completed all TODO tasks, what's left is to go over the code and do some cleanup regarding the album API functonality. #22, #25 2019-05-08 22:06:19 -04:00
amazing-username 677646bb62 Continuing work on providing functionality for the Album HTTP Endpoints. Added TODO's to picket up where I left off #22, #25 2019-05-07 21:58:17 -04:00
amazing-username 66f9a05341 Modified Song model, added more functionality to the Album context and store, and need to work on how album records are handled when uploading songs. I left TODO's on where to pick up. #22, #25, #29 2019-05-06 20:32:34 -04:00