Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dimdenGD/LastFMRichPresence

A BetterDiscord plugin for showing what you're listening from Last.fm.
https://github.com/dimdenGD/LastFMRichPresence

betterdiscord betterdiscord-plugin discord lastfm lastfm-api soundcloud youtube youtube-music

Last synced: 3 months ago
JSON representation

A BetterDiscord plugin for showing what you're listening from Last.fm.

Awesome Lists containing this project

README

        

# LastFMRichPresence BetterDiscord Plugin
This plugin allows you to show what you're listening via Last.fm. You can set it up for Soundcloud, Youtube Music and lot of other sites, not just Spotify (with [Webscrobbler](https://chrome.google.com/webstore/detail/web-scrobbler/hhinaapppaileiechjoiifaancjggfjm?hl=en)).
Keep in mind that you can't click your own rich presence buttons. Other people can.

![Screenshot](https://lune.dimden.dev/129c4eba56.png)

## Features
* Show what music you're listening with Last.fm. With [Webscrobbler](https://chrome.google.com/webstore/detail/web-scrobbler/hhinaapppaileiechjoiifaancjggfjm?hl=en) you can show music from 280+ different websites (see list [here](https://web-scrobbler.com/)).
* Hide Last.fm Rich Presence when listening from Spotify (optional setting).
* Shows 'Listen on YouTube' button when can find YouTube link.
* You can also set up 'Listen on Soundcloud' button if you set Soundcloud Authorization key.
* Easy setup. You can show scrobbles of any person.

## Installation
* Download [this](https://raw.githubusercontent.com/dimdenGD/LastFMRichPresence/main/LastFMRichPresence.plugin.js) file and put it in BetterDiscord plugin folder.
* Go to [Last.fm API](https://www.last.fm/api) and create API key (it only takes few minutes, write anything about app, dont need to provide callback or website).
* Put Last.fm key and your Last.fm username in plugin settings.
* Wait a minute and it should start working
* If it doesn't, make sure you have this option on:
![turn this on](https://lune.dimden.dev/808d593dd92d.png)

![Option menu](https://lune.dimden.dev/e88741e140.png)

## Getting Soundcloud Authorization key
You can get OAuth key by having Soundcloud app (but they stopped giving access) or by going to [any search page](https://soundcloud.com/search?q=test), opening DevTools Network tab and finding `search?` request and copying `Authorization` header (you have to be logged in & it doesn't matter if you include `OAuth ` part or not).

![Soundcloud](https://lune.dimden.dev/d037357515.png)
![Soundcloud2](https://lune.dimden.dev/56a2a124b5.png)

## Will I get banned for using this?
This plugin uses RPC, which is official API used by lot of programs. It doesn't update your status and won't count as selfbotting.

## Support
Join my [Discord server](https://discord.gg/TBAM6T7AYc) for support.

## License
MIT