Skip to content

A Web app using the Spotify Web API that allows users to create rooms where other users can join in and collectively contribute to a shared music queue and music playback from their own device.

License

Notifications You must be signed in to change notification settings

purdueapp/onQueue

Repository files navigation

OnQueue

Youtube Demo image

Room State

{
  trackWindow: {
    currentTrack: <SpotifyTrack>,
    nextTracks: [<SpotifyTrack>, <SpotifyTrack>, ...],
    previousTracks: [<SpotifyTrack>, <SpotifyTrack>, ...]
  },
  duration: 0,
  position: 0,
  volume: 0.5,
  paused: false,
  members: [<User>, <User>, ...],
  host: <SpotifyUser>
}

User

{
  displayName: 'John Doe',
  role: 'Admin',
  id: 'asdfaskdjkljs',
}

Host Redux State

{
  spotify: {
    player: <SpotifyWebPlayer>,
    trackWindow: {
      nextTracks: [],
      previousTracks: [],
      currentTrack: initialCurrentTrack,
    },
    tokens: {
      accessToken: <AuthAccessToken>,
      refreshToken: <AuthRefreshToken>,
    },
    api: <OpenSourceSpotifyApi>,
    playbackState: <SpotifyWebPlaybackState>
  },
  roomState: <RoomState>
 }

About

A Web app using the Spotify Web API that allows users to create rooms where other users can join in and collectively contribute to a shared music queue and music playback from their own device.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages