Skip to content

Isola92/PartyScrobbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PartyScrobbler

  • Another group listening tool for last.fm.

  • Fetches the last scrobbled track for a user and scrobbles that track for all other users in a party.

  • The host is playing music as usual. The app is not scrobbling for the host.

How do I start a party?

This is no longer needed because Spotify has implemented a party feature that works well.

Functionality

General stuff

  • The server is powered by Express which deals with a few routes but it also uses socket.io for simple real time updates.
  • The client side code can be found in src but is bundled together using Webpack and placed in the folder public.
  • The server gives the client access to the public folder.

How the scrobbling is implemented

  1. A basic interval is running, making GET requests to the last.fm API every 15 seconds, checking if the hosts most recently scrobbled track is a new one.

  2. If a new one is found, it will be added to the server.

  3. The server then iterates over the registered users and makes one track.scrobble POST request to the last.fm API for every user.

Host the server yourself

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published