Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

A Last.FM Scrobbler that allows for universal scrobbling and ease of music application integration! Also supports Discord Game updates.

Notifications You must be signed in to change notification settings

sabihismail/Discord-LastFM-Universal-Scrobbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Last.FM Universal Scrobbler with Discord Support

This application automatically scrobbles music information from any supported music application.

For a list of supported applications, check out the plugins folder. You may also create your own plugins using the application itself.

This application also allows for the updating of the Discord Game status to show Playing {{Song}} instead of a video game as expected.

Getting Started

There are two methods to use this program. Either you can download the source, add your own Last.FM API key and secret, and compile it through Maven, OR you can use the included jar file found in the releases section.

No Compile (skip to Manually Compile for manual setup)

Download the JAR file from the releases section. This uses my own Last.FM API key and secret.

Manually Compile

You will need to retrieve a Last.FM API key/secret combination from here.

Please also read the API rules to ensure that any additions to the code does not break any rules stated by Last.FM. The same goes for Discord if you plan on using more Discord API functionalities.

Paste the key and secret in the class com.sabihismail.DiscordLastFMScrobbler.LastFM for the variables LAST_FM_API_KEY and LAST_FM_API_SECRET.

To compile the jar with dependencies using Maven, execute mvn clean compile assembly:single.

Configuration

  1. You must input your Last.FM username and password when prompted to use Last.FM scrobble functionality. To use Discord Game update functionality, you will also have to follow the on-screen instructions to retrieve the token.

  2. To add a plugin, click on the desired plugin in the plugins folder and then right-click the Raw button on the right. Save this file anywhere.

Save Plugin File

  1. Go back to the application now and click the Plugins button.
  2. Click Add and choose Install Plugin
  3. Navigate and select the plugin that you downloaded.
  4. Done!

TODO (in no particular order):

  • Show Last.FM recent plays menu
  • Add right-click plugin save/edit buttons
  • Minimize to tray rather than always visible on taskbar
  • Experiment with JNA to get active windows rather than using CMD's tasklist
  • Allow for custom song format to be created by user
  • Add more general logging methods
  • Submit more data to Last.FM

Built With

About

A Last.FM Scrobbler that allows for universal scrobbling and ease of music application integration! Also supports Discord Game updates.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages