VISVESVARAYA TECHNOLOGICAL UNIVERSITY BELGAUM-
590014
A DBMS Mini-Project Report
On
“Music Management System”
A Mini-project report submitted in partial fulfillment of the requirements for the award of the degree of
Bachelor of Engineering in Computer Science and Engineering of Visvesvaraya Technological University,
Belgaum.
Submitted by:
ARPITHA K(1DT16CS014)
AND
BHOOMIKA R(1DT16CS019)
Under the Guidance of:
Dr .MANJUNATH D R
(Asst. Prof. Dept of CSE)
and
Dr.SANDHYA N
(Assoc. Prof. Dept of CSE)
Department of Computer Science and Engineering
DAYANADA SAGAR ACADEMY OF TECHNOLOGY AND
MANAGAEMENT
Kanakapura Road,Udayapura, Bangalore-560 082
2020-2021
DAYANADA SAGAR ACADEMY OF TECHNOLOGY AND
MANAGEMENT,
Kanakapura Road,Udayapura, Bangalore -560 082
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
CERTIFICATE
This is to certify that the Mini-Project on Database Management System (DBMS) entitled “MUSIC
MANAGEMENT SYSTEM” has been successfully carried out by ARPITHA K(1DT16CS014) and
BHOOMIKA R(1DT16CS019) a bonafide students of Dayananda sagar academy of technology
and management in partial fulfillment of the requirements for the award of degree in Bachelor of
Engineering in Computer Science and Engineering of Visvesvaraya Technological University,
Belgaum during academic year 2018. It is certified that all corrections/suggestions indicated for
Internal Assessment have been incorporated in the report deposited in the departmental library. The
mini project report has been approved as it satisfies the academic requirements in respect of project
work for the said degree.
GUIDES:
Dr. MANJUNATH D R
(Asst. Prof. Dept of CSE)
and
Dr.SANDHYA N
(Assoc. Prof. Dept of CSE) Dr. C. NANDINI
(Vice Principal & HOD, Dept. of CSE)
Examiners: Signature with Date
1:
2:
ACKNOWLEDGEMENT
It gives us immense pleasure to present before you our project titled “MUSIC MANAGEMENT
SYSTEM USING HTML and PHP”. The joy and satisfaction that accompany the successful
completion of any task would be incomplete without the mention of those who made it possible. We
are glad to express our gratitude towards our prestigious institution DAYANANDA SAGAR
ACADEMY OF TECHNOLOGY AND MANAGEMENT for providing us with utmost knowledge,
encouragement and the maximum facilities in undertaking this project.
We wish to express a sincere thanks to our respected principal Dr. B. R. Lakshmikantha for all their
support.
We express our deepest gratitude and special thanks to Dr.C.Nandini, Vice Principal & H.O.D, Dept.
Of Computer Science Engineering, for all her guidance and encouragement.
We sincerely acknowledge the guidance and constant encouragement of our mini- project guides, Assis
Dr.Manjunath.D.R. (Asst. Prof. Dept of CSE) and Dr.SANDHYA N(Assoc. Prof. Dept of CSE)
ARPITHA K(1DT16CS014)
AND
BHOOMIKA R (1DT16CS019)
i
ABSTRACT
Our project Music Management system is designed to automate and simplify the work done by
the users of who love music. The aim of the project is to entertain users by different varieties of songs
who use our Music Management system.
It includes maintenance of User details, Songs details, Artists details, Language details, along
with the lyrics URL. The system allows the music user to search for name of the songs which are
available. The system is designed such that songs are available on all days. The system displays all the
songs details such as image, songs, duration etc.
The system asks the user to enter his details such as name, password(pwd), email, address and
contact number to register.
Our software has the facility to add new record, update existing record and delete an existing
record. The Music Management System can be entered using a username and password. It is accessible
either by an administrator or user. Administrator has access to all the functions of the System and can
see the user details. Users can add and modify their details.
The main purpose of this software is to make it convenient for the users to play the songs as and
when they require. Our Project interface is very user-friendly and simplifies the manual operation of an
Music Management.
ii
TABLE OF CONTENTS
Chapter # Chapter Name Page #
1 INTRODUCTION 1
1.1 Background 1
1.2 Problem Definition 1
1.3 Motivation 1
1.4 Objective 2
1.5 Scope of the project 2
2 REQUIREMENTS 3
2.1 Hardware Requirements 3
2.2 Software Requirements 3
3 DESIGN 4
3.1 Database Design 4
3.1.1 E-R Diagram 4
3.1.2 Database Schema 5
3.1.3 Relational Schema 8
3.2 Database Normalization 9
3.2.1 First Normal Form 9
3.2.2 Second Normal Form 9
3.2.3 Third Normal Form 9
3.3 User Interface 9
3.3.1 User Registration Module 9
3.3.2 User Operations Module 10
3.3.3 Admin Registration Module 12
3.3.4 Admin Operations Module 13
4 IMPLEMENTATION 15
4.1 User Registration Module 15
4.2 User Operations Module 16
4.3 Admin Registration Module 17
4.4 Admin Operations Module 18
4.5 Stored Procedure and Trigger 19
5 SOURCE CODE 20
6 CONCLUSION AND FUTURE WORK 24
6.1 Advantages 24
6.2 Future Enhancements 24
iii
LIST OF FIGURES
SL # FIGURE # TOPIC PAGE #
1 Figure 3.1 Welcome Page 9
2 Figure 3.2 User Registration Module 9
3 Figure 3.3 User Login 10
4 Figure 3.4 User Song Search 10
5 Figure 3.5 Available Songs 11
6 Figure 3.6 Available Artists 11
7 Figure 3.7 Available Langauage 12
8 Figure 3.8 Admin Login 12
9 Figure 3.9 Insert New Songs 13
10 Figure 3.10 Update Songs 13
11 Figure 3.11 Insert New Artists 13
11 Figure 3.12 Delete Artists 14
12 Figure 3.13 Insert Users 15
13 Figure 3.14 Update Users 16
iv
DBMS Mini Project – Music Management System
CHAPTER 1
INTRODUCTION
1.1 Background
Considering the volumes of data that needs to be tracked and accessed, it would be very difficult to
manage the accuracy and quality of data manually and deliver them accordingly. It would be almost
impossible to get the details required in case of manual maintenance of data. The Music Beats(Music
With Comfort) is an innovative solution that helps in managing huge loads of songs. The Music
Management System simplifies the manual work and allows smooth administration of the operations of
streaming music.
1.2 Problem Definition
This project is aimed to reduce the manual work involved in data maintenance in the Song
details and automates the Music Management System. This project is developed mainly to simplify the
manual work and allows smooth administration of the operations of music. The purpose of the project
is to computerize the administrative operations of Songs and to develop software which is user friendly,
simple, fast, and cost – effective. It deals with the collection of Users, Songs, Artists etc. Traditionally,
it was done manually. The main function of the system is to enter and listen Songs and retrieve these
details as and when required..
1.3 Motivation
Manual System: The system is very time consuming and lazy. This system is more prone to errors and
sometimes the approaches to various problems are unstructured.
Technical System: With the invention of latest technology, we should update our systems which are
very fast, accurate, user-friendly and reliable.
Dept. of CSE, DSATM 2020-21 Page 1
DBMS Mini Project – Music Management System
1.4 Objective
Main goal of this project is to simplify the manual operation of the Music with the following
advantages:
1. Faster System
2. Accuracy
3. Reliability
4. Cost Effective
5. User Friendly
6. Immediate access to the data
1.5 Scope of the project
The project provides a very simple application which simplifies the manual work done by the
operation team of Music Management System. This application saves the data of users in the
database. Allows users to search for Songs.
Dept. of CSE, DSATM 2020-21 Page 2
DBMS Mini Project – Music Management System
CHAPTER 2
REQUIREMENTS
The requirements can be broken down into 2 major categories namely hardware and software
requirements. The former specifies the minimal hardware facilities expected in a system in which the
project has to be run. The latter specifies the essential software needed to build and run the project.
2.1 Hardware Requirements
The Hardware requirements are very minimal and the program can be run on most of the machines.
• Processor - Intel 486/Pentium processor or better
• Processor Speed - 500 MHz or above
• Hard Disk - 20GB(approx)
• RAM - 64MB or above
• Storage Space - Approx. 2MB
2.2 Software Requirements
• Technology Implemented : Apache Server, MySQL Server
• Language Used : PHP
• Database : My SQL
• User Interface Design : HTML, CSS,Bootstrap
• Web Browser : Google Chrome
• Software : XAMPP Version: 7.1.10
Dept. of CSE, DSATM 2020-21 Page 3
DBMS Mini Project – Music Management System
CHAPTER 3
DESIGN
3.1 Database Design
3.1.1 E-R Diagram
Dept. of CSE, DSATM 2020-21 Page 4
DBMS Mini Project – Music Management System
3.1.2 Database Schema
Database: musicdb
Dept. of CSE, DSATM 2020-21 Page 5
DBMS Mini Project – Music Management System
Table : users
Table: songs
Dept. of CSE, DSATM 2020-21 Page 6
DBMS Mini Project – Music Management System
Table : artists
Table: language
Dept. of CSE, DSATM 2020-21 Page 7
DBMS Mini Project – Music Management System
3.1.3 Relational Schema
Database: Musicdb
Dept. of CSE, DSATM 2020-21 Page 8
DBMS Mini Project – Music Management System
3.2 Database Normalization
3.2.1 First Normal Form
All the Relations are designed in such a way that it has no repeating groups. Hence all tables are
in 1st Normal Form.
3.2.2 Second Normal Form
A relation is said to be in second normal form if it is already in first normal form and it has no
partial dependency. All the tables in the database are designed in such a way that there is no
partial dependency. Hence all tables are in 2nd Normal Form.
3.2.3 Third Normal Form
A relation is said to be in third normal form if it is already in 1st and 2nd Normal Form and has
no transitive dependency. All the tables in the database are designed in such a way that there is
no transitive dependency. Hence all tables are in 3rd Normal Norm.
3.3 User Interface
The User Interface of the Music Management System is divided into two parts
1. User Module - For the users of the musicdb
2.Admin Module – For the admin of the musicdb
Dept. of CSE, DSATM 2020-21 Page 9
DBMS Mini Project – Music Management System
3.3.1 Welcome Page
Figure 3.1 Welcome Page
Dept. of CSE, DSATM 2020-21 Page 10
DBMS Mini Project – Music Management System
3.3.2 User Registration Module
User Registration:
Figure 3.2 User Registration
Dept. of CSE, DSATM 2020-21 Page 11
DBMS Mini Project – Music Management System
3.3.3 User Login Module
User Login:
Figure 3.3
User Login
Dept. of CSE, DSATM 2020-21 Page 12
DBMS Mini Project – Music Management System
3.3.4 User Song Search Module
User Song Search:
Figure 3.4 User Song Search
Dept. of CSE, DSATM 2020-21 Page 13
DBMS Mini Project – Music Management System
Available Songs:
Figure 3.5 Available Songs
Artist Details
Figure 3.6 Available Artists
Dept. of CSE, DSATM 2020-21 Page 14
DBMS Mini Project – Music Management System
Language wise Songs :
Figure 3.7 Language Wise Songs
3.3.1 Admin Login Module:
Admin Login:
Dept. of CSE, DSATM 2020-21 Page 15
DBMS Mini Project – Music Management System
Figure 3.8Admin Registration
3.3.2 Admin Operations Module:
Insert New Songs:
Figure 3.10 Insert New Songs
Dept. of CSE, DSATM 2020-21 Page 16
DBMS Mini Project – Music Management System
Insert new Artists:
Figure 3.10 Insert New Artists
Dept. of CSE, DSATM 2020-21 Page 17
DBMS Mini Project – Music Management System
Add User:
Figure 3.11 Add User
Dept. of CSE, DSATM 2020-21 Page 18
DBMS Mini Project – Music Management System
Update and Delete Songs:
Figure 3.12 Update And Delete Songs
Delete artist:
Figure 3.13 Delete Artist
Dept. of CSE, DSATM 2020-21 Page 19
DBMS Mini Project – Music Management System
Update and Delete user:
Dept. of CSE, DSATM 2020-21 Page 20
DBMS Mini Project – Music Management System
CHAPTER 4
IMPLEMENTATION
4.1 User Registration Module
Process Name : User Registration
Process Number : 1.1
Input : Username
: Email
: Phno
: Address
: Password
: Confirm Password
Output : Status Message
Error Condition : Username Already Exists
: Passwords do not match
: All Fields are Required
Process Name : User Login
Process Number : 1.2
: Username
: Password
Input
Output : Status Message
Error Condition : Invalid Username or Password
: All Fields are Required
Dept. of CSE, DSATM 2020-21 Page 21
DBMS Mini Project – Music Management System
4.2 User Song Search Module
Process Name : User Song Search
Process Number : 2.1
Input : Song name
Output : Song name
Error Condition : Enter valid song name
Process Name : Available Songs
Process Number : 2.2
Output : Available songs details
Error Condition : No songs
Process Name : Artists Details
Process Number : 2.3
Output : Available Artist Detail
Error Condition :no artists
Dept. of CSE, DSATM 2020-21 Page 22
DBMS Mini Project – Music Management System
4.3 Admin Registration Module
Process Name : Admin Registration
Process Number : 3.1
Input :User Name
: Password
Output : Status Message
Error Condition : Invalid Username or Password
: All Fields are Required
Dept. of CSE, DSATM 2020-21 Page 23
DBMS Mini Project – Music Management System
4.4 Admin Operations Module
Process Name : Insert New Songs
Process Number : 4.1
Input : ID
: Title
: lid
: duration
: Destination
: type
: image
: type
Output : Status Message
Error Condition : Song Already Exists
: All fields are Required
Process Name :Update and Delete songs
Process Number : 4.2
Output : Available Songs with Edit And Delete option
Error Condition : Query error
Process Name : Insert New Artists
Process Number : 4.3
Input : Artists _id
: Name
: Song _Name
: Image
:Type
Output : status message
Error Condition : Query error
Dept. of CSE, DSATM 2020-21 Page 24
DBMS Mini Project – Music Management System
Process Name : Delete Artist
Process Number : 4.4
Output : Available Artist with Delete Option
Error Condition : Query Error
Process Name :Insert New User
Process Number : 4.5
Input: : Id
: name
: pwd
: address
: phone number
: email
:isadmin
Output : Status Message
Error Condition : Query Error
Process Name :Update and Delete user
Process Number : 4.6
Output : Available users with update and delete option
Error Condition : Query error
Dept. of CSE, DSATM 2020-21 Page 25
DBMS Mini Project – Music Management System
Stored Procedure:
The Stored procedure implemented in the project for :
(i)helps admin to view set of songs details.
(ii) When the admin clicks on “View new songs”, the admin can view all the songs
which are recently added.
Trigger:
The trigger is implemented for :
The trigger is used to record the time and date at which the last login or registration of
user or admin had happened
Dept. of CSE, DSATM 2020-21 Page 26
DBMS Mini Project – Music Management System
CHAPTER 5
SOURCE CODE
Sample Source code to display the available songs
Filename: songs.php
<?php
//including the database connection file
include_once("config.php");
//$type = $_GET['type'];
//fetching data in descending order (lastest entry first)
//$result = mysql_query("SELECT * FROM users ORDER BY id DESC"); // mysql_query is
deprecated
$result = mysqli_query($mysqli, "SELECT * FROM songs ORDER BY title "); // using mysqli_query
for all pizza
?>
<html>
<head>
<title>Display songs</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body background="/musicdbase/image/superthumb.png">
<table width='100%' border=0>
<tr style="background-color:black; color:white">
<th><strong>Image</strong></th>
<th><strong>Title</strong></th>
Dept. of CSE, DSATM 2020-21 Page 27
DBMS Mini Project – Music Management System
<th><strong>Duration</strong></th>
<th><strong>Ratings</strong></th>
<th><strong>Lyrics Url</strong></th>
<th><strong>Playsong</strong></th>
</tr>
<?php
//while($res = mysql_fetch_array($result)) { // mysql_fetch_array is deprecated, we need to use
mysqli_fetch_array
while($res = mysqli_fetch_array($result)) {
echo "<tr>";
echo "<td width=20%;><b>"."<embed width=420px height=315px
src=image/".$res['Image']." ></b></td>";
echo "<td width=25%;><b>".$res['title']."</b></td>";
echo "<td width=20%;><b>".$res['duration']."</b></td>";
echo "<td width=20%;><b>".$res['ratings']."</b></td>";
echo "<td width=20%;>"."<a href=".$res['lyrics'].">Click here</a></td>";
echo "<td>";
echo "<audio controls>";
echo "<source src=\"songs/".$res['title']."\">";
echo "Your browser does not support the audio element.";
echo "</audio>";
echo "</td >";
echo "</tr>";
?>
</table>
</body>
</html>
Dept. of CSE, DSATM 2020-21 Page 28
DBMS Mini Project – Music Management System
Triggers:
CREATE TRIGGER user_trig BEFORE INSERT ON users
FOR EACH ROW INSERT INTO trigger_time
VALUES(NOW())
END
Stored Procedure:
GetAllSongs:
CREATE PROCEDURE GetAllSongs
BEGIN
SELECT *from songs;
END
Dept. of CSE, DSATM 2020-21 Page 29
DBMS Mini Project – Music Management System
CHAPTER 6
CONCLUSION AND FUTURE WORK
The Music Management System is a great improvement over the manual system which uses lots of
manual work. The computerization of the system speeds up the process. This system was thoroughly
checked and tested with dummy data and found to be very reliable.
6.1 Advantages
• The Music Management System is fast, efficient and reliable.
• Avoids data redundancy and inconsistency
• Web-based
• Any number of users can use it
• Provides more security and integrity to data
6.2 Future Enhancements
The Music Management System can be enhanced by including more functionality like maintaining
albums, Track the number of songs , maintain users Feedback, Reports, Billing and Offers etc.
We can further add an improvised music system which far more efficient and reliable.
Dept. of CSE, DSATM 2020-21 Page 30
DBMS Mini Project – Music Management System
BIBLIOGRAPHY
BOOK REFERENCES:
➢ Learn to Code HTML and CSS: Develop and Style Websites (Web Design Courses) 1st, Kindle
Edition by Shay Howe
➢ PHP 6 and MySQL 5 - Larry Ullman
WEBSITE REFERENCES:
HTML Learning:
➢ https://www.codecademy.com/
➢ https://dash.generalassemb.ly/
➢ https://www.w3schools.com/
PHP Learning:
➢ http://www.tutorialspoint.com/php/
➢ https://killerphp.com
➢ https://www.w3schools.com/
Dept. of CSE, DSATM 2020-21 Page 31
DBMS Mini Project – Music Management System
PERSONAL DETAILS :
NAME: ARPITHA K
USN: 1DT16CS014
SEMISTER AND SECTION: 5th SEM & 'B' SEC
COLLEGE: DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND
MANAGEMENT
EMAIL ID: [email protected]
NAME: BHOOMIKA R
USN: 1DT16CS019
SEMESTER AND SECTION: 5th SEM & ‘B’ SEC
COLLEGE: DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND
MANAGEMENT
EMAIL ID: [email protected]
Dept. of CSE, DSATM 2020-21 Page 32