Skip to content

RegorForgot/LastfmDiscordRPC

Repository files navigation

Banner

Codacy Badge Downloads

A simple cross-platform application that allows you to set a rich presence on your Discord account from your Last.fm profile.

Made with AvaloniaUI

Light mode Dark mode
Light mode Dark mode

Getting Started

Important

Please note: This application requires the .NET 7 runtime environment.

Download the latest release, log in with your Last.fm account and start the rich presence service.

Supported Platforms

  • x64 Windows
  • x64 Linux
  • ARM MacOS (M Silicon) Indefinitely on hold
  • x64 MacOS

Customization

Edit rich presence configuration

You can use the preset settings, or edit as required in the Presence tab.

Presence Variables Description
{TrackName} Name of the current track
{ArtistName} Name of the current artist
{AlbumName} Name of the current album (blank if none)
{Playcount} User's scrobble count
{Playing} Track playing state (blank if stopped)
{TimeSincePlayed} Time since last played (blank if not playing)

Adjusting Presence Expiry Timer

You can customize your presence and set an expiry timer within the application settings. This timer will deactivate the presence after a period of presence and scrobbling inactivity which can be adjusted as required.

Settings panel

Advanced customization

Creating Custom Discord App and ID

To rename the highlighted text, create a new application on discord's developer portal, name it, and copy the Application ID to paste into the Discord App ID field in the settings.

Discord App Name Example

Contributing

If you find issues or have suggestions, feel free to start an issue or create a pull request.

Known issues

  • Stuck Presence after Disabling:
    • Occasionally, the presence may remain visible for a short period of time after disabling it (including closing the application entirely). This is not an issue which is easily resolved and it is not local to this application. Other applications with rich presences (including Spotify) have this issue occasionally as well.

Contributors

Libraries and Assets