Skip to content

Commit

Permalink
Updated README and cleaned up.
Browse files Browse the repository at this point in the history
  • Loading branch information
aritrakar committed Jul 26, 2023
1 parent c7359a6 commit aab470e
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ It supports the following features:
- Song queueing
- https://github.com/Raymo111/cs348/blob/main/website/components/appstateprovider.tsx
- Song favouriting
- To be implemented
- https://github.com/Raymo111/cs348/blob/main/website/app/collection/favourites

---

The production data is at: https://drive.google.com/file/d/1bCoon3Nj-6nh-_RE9vNY4kQnDKoq9Fye/view?usp=sharing

The testing data is at: https://drive.google.com/file/d/11nd32AImDeLA856__QpqkyL5lRC_An66/view?usp=drive_link

In order to load the data into the web application, please use the **`Upload`` tab** and batch-upload all the song files to be imported into the database.
In order to load the data into the web application, please use the **`Upload` tab** and batch-upload all the song files to be imported into the database.

---

Expand Down
5 changes: 2 additions & 3 deletions website/app/collection/favourites/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
'use client'

import { useEffect, useState } from "react";
import { apiGetCollectionFavourites, apiGetCollectionTracks, apiGetCollectionTracksSearch } from "@/components/apiclient";
import { apiGetCollectionFavourites } from "@/components/apiclient";
import { useAppStateContext } from "@/components/appstateprovider";
import { APITrack } from "@/util/models/track";
import {Grid, TextField, Typography, InputAdornment, CssBaseline} from "@mui/material";
import { Search } from "@mui/icons-material";
import {Grid, Typography, CssBaseline} from "@mui/material";
import { useRouter } from "next/navigation";
import { useLoginStateContext } from "@/components/loginstateprovider";
import AlertComponent, { AlertEntry } from "@/components/alerts";
Expand Down
2 changes: 1 addition & 1 deletion website/app/collection/genres/[genreId]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";
import { useLoginStateContext } from "@/components/loginstateprovider";
import { APIGenre } from "@/util/models/genre";
import { Box, Button, Grid, Typography } from "@mui/material";
import { Box, Button, Typography } from "@mui/material";
import { useRouter } from "next/navigation";
import { useEffect, useState } from "react";
import { AlertEntry } from "@/components/alerts";
Expand Down
2 changes: 1 addition & 1 deletion website/app/collection/playlists/[playlistId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Box, Typography, Button, TextField, Modal } from "@mui/material";
import { useRouter } from "next/navigation";
import { useEffect, useState } from "react";
import { AlertEntry } from "@/components/alerts";
import { apiGetPlaylist, apiGetPlaylistTracks, apiPostCreatePlaylist } from "@/components/apiclient";
import { apiGetPlaylist, apiGetPlaylistTracks } from "@/components/apiclient";
import { APITrack } from "@/util/models/track";
import TrackTable from "@/components/trackTable";
import PlayArrowIcon from '@mui/icons-material/PlayArrow';
Expand Down
6 changes: 3 additions & 3 deletions website/app/collection/playlists/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use client'

import { use, useEffect, useState } from "react";
import { apiGetCollectionPlaylists, apiPostCreatePlaylist } from "@/components/apiclient";
import { useEffect, useState } from "react";
import { apiGetCollectionPlaylists } from "@/components/apiclient";
import { useLoginStateContext } from "@/components/loginstateprovider";
import { useRouter } from "next/navigation";
import { APIPlaylist } from "@/util/models/playlist";
import AlertComponent, { AlertEntry } from "@/components/alerts";
import { Typography, Grid, Modal, TextField, Button, Dialog, DialogTitle, DialogContent, DialogActions } from "@mui/material";
import { Typography, Grid, Button } from "@mui/material";
import PlaylistCard from "@/components/playlistCard";
import CreatePlaylistDialog from "@/components/createPlaylistDialog";
import { useAppStateContext } from "@/components/appstateprovider";
Expand Down
2 changes: 1 addition & 1 deletion website/components/appstateprovider.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { APITrack } from "@/util/models/track";
import { createContext, useContext, useEffect, useReducer, useState } from "react";
import { createContext, useContext, useReducer } from "react";

export enum RepeatType {
OFF,
Expand Down
1 change: 0 additions & 1 deletion website/components/genreCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import { APIArtist } from "@/util/models/artist";
import { Typography, Card, CardActionArea, CardContent, CardMedia } from "@mui/material";
import { useRouter } from "next/navigation";
import { useAppStateContext } from "./appstateprovider";
Expand Down
1 change: 0 additions & 1 deletion website/components/mediaplayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { useAppStateContext } from "./appstateprovider";
import { useRef, useState, useEffect } from "react";
import AudioPlayer from 'react-h5-audio-player';


import '@/components/mediaplayer.css';
import {
PauseOutlined,
Expand Down

0 comments on commit aab470e

Please sign in to comment.