Commit Graph
100 Commits
Author SHA1 Message Date
phoenix 8f6350a3dc tsk-103: Refactored enum 2025-02-06 20:07:34 -05:00
phoenix 66496aa5f9 tsk-103: Fixing build issue 2025-02-05 20:16:55 -05:00
phoenix f2c1e7cb66 tsk-103: Minor changes 2025-02-04 22:59:32 -05:00
phoenix a08be09472 tsk-103: Formatting changes 2025-02-03 21:15:43 -05:00
phoenix eb5ae75b0c tsk-103: Cleanup of temporary files 2025-02-03 21:14:21 -05:00
kdeng00 af45a49c05 #103: Fixed build issue 2024-08-07 19:39:30 -04:00
kdeng00 b3b5a975d9 #103: Added method to create song and moving some code around 2024-08-06 19:51:50 -04:00
kdeng00 77030c6347 #103: Adding checks to prevent .wav files from being uploaded: 2024-08-05 20:12:52 -04:00
KDandGitHub a89580ac70 #102: Moving Models and constants to their own library (#104)
* #102: Moving Models and constants to their own library

* #102: Updated sln file

* #102: Updated README to include step install migration tool
2024-08-05 20:05:57 -04:00
KDandGitHub 8900afdfd2 #93: Add flac support (#101)
* Added script shell to convert wav files to flac

* #93: Minor change to script to convert wav files to flac

* #93: Added more code to for the music file conversion

* #93: Script to convert wav files to flac files is done

* #93: Clean up

* #93: Starting work to implement flac support

* #93: Minor update to conversion script

* #93: Added dotnet manifest file

Includes the dotnet-ef tool

* #93: Updated README and migration script

* #93: Created skeleton for saving flac files

* #93: Making some changes to how the file extension is determined

* #93: Updated gitignore

* #93: Another gitignore update

* #93: Making some changes to the process of saving a song to the filesystem

* #93: Adding SQL script to drop and create database

* #93: Saving uploaded song to a temporary location for processing

* #93: Initializing some properties in the song model earlier

* #93: Uploading wav songs works. Moving on to flac support

* #93: Added more code to save flac files

* #93: Updated some code that affects filename generation for audio files

* #93: Song Model changes and support for different file types

* #93: Working on build errors, removed DotnetZip dependency, and added new Ionic.Zlip.Netstandard dependency

* #93: Reduce build errors

* #93: Removed ID3 dependency

* #93: Cleanup
2024-07-27 13:19:12 -04:00
Kun DengandGitHub 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 DengandGitHub 71656aa940 #94: Saving the file type of cover art, but there is still some work to do (#100)
* #94: Saving the file type of cover art, but there is still some work to do

The filename of cover art is hard coded to have the png extension. Need to correct this

* #94: Added a TODO

* #94: Corrected file extension being saved in the db

* Cleanup

* Saving databasescripts
2024-06-21 20:26:44 -04:00
Kun DengandGitHub 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 DengandGitHub ebb15b7cdb #79: Added query parameter to randomize filename when downloading songs (#96)
* #79: Added query parameter to randomize filename when downloading songs

Right now only the  endpoint has this parameter added

* #79: Added functionality to the comressed song endpoint

* Added functionality to the download cover art
2024-06-16 19:04:10 -04:00
Kun DengandGitHub 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 DengandGitHub 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 ececcb5ba3 Cover art changes 2024-06-09 13:10:51 -04:00
Kun DengandGitHub 8658dd34ab Merge pull request #87 from kdeng00/update_namespace
Migrating to modern c# namespace
2023-04-09 12:43:48 -04:00
kdeng00 c17c9cd329 Migrating to modern c# namespace
Using the short namesapce declaration for conciseness
2023-04-09 12:34:06 -04:00
kdeng00 27cc80d114 Ready for release 2022-01-09 18:13:31 -05:00
kdeng00 27ee3d6ba5 Updated User model 2022-01-09 17:21:26 -05: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 471fa71789 Updated Readme 2021-12-23 21:12:50 -05:00
kdeng00 edaea68296 Functional 2021-12-23 21:10:13 -05:00
kdeng00 8600d9b6bc Updates 2021-12-22 21:33:12 -05:00
kdeng00 922e527819 Removing repositories 2021-12-22 20:28:20 -05:00
kdeng00 46f0da4a5f Updated to .NET 6 2021-12-22 20:20:22 -05:00
kdeng00 16839b9bf8 Saving changes 2021-12-22 20:18:27 -05:00
Kun DengandGitHub 552d5dcd25 Merge pull request #70 from kdeng00/dependency-update
Dependency update
2021-08-01 20:08:26 -04:00
kdeng00 cadcf33ed6 Updated dependency 2021-08-01 20:07:40 -04:00
kdeng00 4f46f2ed94 Updated dependencies 2021-08-01 19:50:26 -04:00
kdeng00 560773bfff Now buildable targetting .net 3.1 2021-08-01 19:45:21 -04:00
kdeng00 43623d07c3 Removing unneeded file 2021-08-01 19:17:54 -04:00
kdeng00 b93d436c29 Removing user file 2021-08-01 19:15:26 -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
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 a471d40cb6 Continuing work on issue #41 and #42. Added functionality to delete album and artist records 2019-05-16 21:47:19 -04:00
amazing-username 8f6364922b Continuing working on the Genre and Year API functionalty. #41 and #42 2019-05-15 20:54:52 -04:00
amazing-username 2a69392d98 Continuing to provide functionality to the GenreStoreContext class #41 2019-05-14 23:33:29 -04:00
amazing-username cd2da929eb Added Genre and Year models, Genre and Year Context, Genre and Year Stores, Genre and Year skeleton APIControllers #41 and #42 2019-05-13 21:19:15 -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 dcc6ce6c83 HTTP endpoints secured #39 2019-05-11 22:22:53 -04:00
amazing-username 9bfb43e46a Addressed the unsecure login HTTP endpoint and user the Performers property instead of the deprecated Artists property from the TagLib library. #38 2019-05-11 16:42:29 -04:00
amazing-username c0ac3cdd30 Changed the LastLogin property of the User model to allow null values, explcitly change the Entity User context to create a User table, and resolved bug that caused build issues in the SongController API class. The bug was caused by forgetting to change the type of the method after switching it from ActionResult to IActionResult. #40 2019-05-11 12:43:54 -04:00
amazing-username a3c74b50bc Implemented Artist HTTP endpoint functionality. #21 and #26 2019-05-10 22:21:30 -04:00