-
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.
This is no longer needed because Spotify has implemented a party feature that works well.
- 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.
-
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.
-
If a new one is found, it will be added to the server.
-
The server then iterates over the registered users and makes one track.scrobble POST request to the last.fm API for every user.