Build a website that allows users to upload music files and create playlists.
The system should include 5 tracks uploaded for each of the user accounts listed below.
You are required to create the following accounts to allow the system to be tested. All accounts should have the password p455w0rd
:
user1
user2
user3
The core functionality consists of three screens.
The home screen should only be viewable once a user
has logged in and should display a list of the tracks uploaded by that user with all data extracted directly from the .mp3
file, specifically:
- The name of the track.
- The artist name.
- The album art.
- The duration (in minutes and seconds).
There should be a link or button on the home screen that takes the user
to an upload screen where they can upload more tracks. This screen should:
- Display a list of all the tracks with title, artist, album art and duration.
- Allow the user to upload an
.mp3
file from their computer.
Note: the user must not be asked to input the track, artist name or duration, nor upload album art, this information must be extracted directly from the uploaded file.
If the user
selects a track on the home screen by clicking on either the track name or artist text they should be taken to a page which displays all the ID3 data extracted from the file.
The page should also allow the track to be played, paused and should also include a scrub bar to track how much of the track has been played and allow the user to scrub forward and backward.
The intermediate tasks require you to make changes to the functionality:
- The user should be able to create playlists, supplying a name, picture/graphic and short summary.
- The home page should display a grid or list of all the playlists and include:
- A thumbnail picture/graphic, name and summary.
- An indication of how many songs are in each and the total play time.
- Clicking on a picture/graphic or title takes the user to a playlist page which should include:
- The picture/graphic, name and summary.
- A list of the tracks in the playlist including thumbnail, title, duration.
- A single media component that plays all the tracks in order.
- The user should be able to view and play other peoples playlists and leave:
- Ratings using a 1-5 star scale.
- Comments on the playlist with each comment including the comment, username and date/time.
- All ratings and comments should be visible to all visitors viewing the playlist.
- When a user uploads an audio file they should be able to edit the ID3 data which is then saved back to the mp3 file.
In some assignment briefs you are given marks for the appropriate use of media and using sensors built into the user's device.
In some assignment briefs you are given marks for the appropriate use of sensors and sensor data. You should be implementing:
- Each track should keep track of where ther person was when they last listened to it and when.
- This information should be displayed next to any track that has been played. If the person has never listened to a track this should be flagged up.
- If the device is shaken it should play a random song.
- When asked for a playlist image the user should be provided with the option of using the device camera (if available)
In the requirements listed above you need to provide the user with the ability to upload photos. For the extra media marks you will need to expand this by:
- Providing the user with the choice of uploading photos, video clips or audio clips.
- Giving users the option to directly capture images, audio and video clips using the built-in camera and/or microphone if available.
There are lots of online RESTful APIs you can make use of when developing this system. You should consider: