RaagavPrasanna / sound_contributions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sound_contributions

Name

Music Contributors Manager

Description

  • This was a project that I had completed along with a partner for our Databases class. The application communicates with an Oracle database to allow the user to manage contributions made to songs. The user must however have access to this database and provide their username and password to utilize this application. This project was initially a GitLab project, but was manually transferred over.

Visuals

image

Functionality

Logging In:

  • The application simply will not work if the user does not login. Before using any of the application's functionalities, please assure that you are connected to the Dawson College VPN and login via the application to your Oracle database account.

Retrieving Data:

  • There are 3 categories of data that can be retrieved:
  1. The first are the roles of the contributors. These can be searched by the RecordingID of the song or the name of the Compilation. The Database will then return all the roles for that contributor in that specific recording or Compilation.
  2. The second are the details of a recording or compilation. This can be searched by inputting a recordingID or compilation name. The application will then return details such as the duration, date of release, etc.
  3. Finally we have two queries that will return the roles of an artist, and all of the songs that they have contributed to. The first button will simply return all of the roles that they have ever done, whereas the second one will return all of the details of all of the songs that they have ever been a contributor in.

image

Updating Data:

  • The update functionality allows us to update any of the contributions data we would like to
  • For example if we would like to changeteh name of the specific compilation, we can do it. image

image

  • The application will even dynamically generate the column options based on the table that the user would like to update.

Inserting Data:

  • The insertion functionality allows us to insert recordings and then add contributors to them.
  • We can specify a recordingID, duration, and the date of release.
  • Then, we can add a contributors name, their role, and the specific recording that they worked on.

image

Installation

  1. First open the project, preferably in the VsCode IDE.

  2. Next click on the SongDBJavaFX.java file.

  3. After that, click on the Run and Debug button to create a launch.json file

  4. Following the line that says "project name", add a comma and then on another line add vmArgs to point to the javaFx location.

  5. In the end, it should look something like this:

     {
         "type": "java",
         "name": "Launch SongDBJavaFX",
         "request": "launch",
         "mainClass": "Application.SongDBJavaFX",
         "projectName": "sound_contributions_c0494a5",
         "vmArgs": [
             "--module-path",
             "absolute path to /lib folder given in the javafx library included in the project, (Don't forget to add \\ when writing the path)",
             "--add-modules=javafx.controls"
          ]
     }
    
  6. Finally run the project by going into the SongDBJavaFX.java file, and clicking on the run button above main method. (Traditional ctrl 5 to run will most likely not work)

  7. Make sure you are connected to the Dawson College VPN or else the application will crash when any button is pressed.

Authors and acknowledgment

https://github.com/RaagavPrasanna

https://github.com/DallaliRim

Project status

Completed but may go back to it in the future for improvements.

About


Languages

Language:Java 100.0%