Giter Site home page Giter Site logo

dlfm's Introduction

DLFM

it was a fork of DiscordLastfmScrobbler

DOWNLOAD HERE

This app will update your Discord "Listening to" status with when you are scrobbling something to Last.FM

Profile screenshot profile screenshot

Userlist screenshot screenshot from list of users

To run it, you need to edit config and complete three things:

1. Last.FM API Key

Go to the Last.FM API Page and sign in with your existing Last.FM username and password. It should bring you to the Create API account page and ask you for a few things.

It doesn't really matter what you put in most of the fields, but it should probably look something like this:

LastFM Create API Account Screenshot

After clicking Submit you should get a confirmation page with two items: API Key and Shared Secret. The API Key is the only one you need for this, but I recommend you save both for future use just in case, as they don't actually provide a way to retrieve these later.

LastFM API Account Created Screenshot

Copy and paste the API Key value into the config file in the api_key = xxx line

Then, fill field username with your last.fm username

Also you should fill field check_interval with integer number of seconds script should check new tracks. Recomended values: 1-5 seconds (if you are listening to grindcore, write 0)

2. Discord User Token

For this one you'll need to use the desktop app - it won't work on mobile or in web.

If you are using the desktop app:

  • Press Ctrl+R (or Cmd+R on Mac)
  • Click the "Application" tab
  • Click and expand the "Local Storage" section
  • Click on the only entry in this section, "https://discord.com/"
  • Press Ctrl+Shift+I (or Cmd+Shift+I on Mac)
  • Wait few seconds
  • Right click -> Edit Value in the field to the right of "token"
  • Copy and paste the token value into the config file on the token = xxx line and remove the quotation marks from it.

Desktop Token

3. App settings

You can change there title and endless options.

If you want to change title of status (for example, "Listening to Deezer" or "Listening to Youtube Music"), change "title" value Example:

Example of changed title In title you can use tags, which will be replaced with other value.

List of tags:

Tag Replaced with
{{artist}} Track's artist(s) name(s)
{{album}} Track's album name
{{name}} Track name

Also if you want to ignore not critic errors, change "endless_mode" to "true", else fill it with "false"

When you're done

Save your config file as "config.ini" and it should look something like this:

Finished Config File

Now just run the executable. It should connect to Discord and immediately start setting your "Playing" status to whatever you're listening to on Last.FM

If it's working, it will look like this:

Running Executable

dlfm's People

Contributors

edvardpotter avatar skupjoe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.