Skip to content

cantwont/scrobbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrobbler

About

Ever wanted to have hundreds of thousands of scrobbles on Last.fm? Well here's a tool for that. No, this does NOT play the full song, you input a delay in configuration/config.json and every time it goes past that, as long as there is a song inside a playlist (see below) it will automatically register.

Features

  • Automatically register a scrobble for almost any song
  • Discord Webhook support
  • Custom playlists in a .json (will loop over to next playlist if you choose to in main.py)
  • Customizable delay (30s recommended)
  • More coming soon

Instructions

First you need to go to this website and make an account. Input literally anything for the text fields, click create and it will give you everything you need in the configuration. Your config.json should look like this:

{
    "key": "LASTFM_API_KEY",
    "secret": "LASTFM_API_SHARED_SECRET",

    "username": "LASTFM_USERNAME",
    "password": "LASTFM_PASSWORD",

    "delay": 30,

    "debug": false,

    "webhook": "https://discord.com/api/webhooks/"
}

Once you have this part of the process completed, you're able to go and make a playlist. The playlists file is stored in configuration/playlists.json. A basic example of this would be this:

{
	"playlist1": [
		"Lil Uzi Vert - Paradise",
		"Deftones - Xerces"
	],
	"playlist2": [
		"Playboi Carti - Kelly K",
		"Tenkay - Banned"
	]
}

Before running make sure you have at least Python 3.11 (this is the version I am running locally) and you install the required packages below:

pip install pylast
pip install datetime
pip install discord-webhook

Notes:

You do NOT need to have several playlists or several songs, just as long as it follows that format it should be fine. Make sure the artist name is going FIRST and song name SECOND. You also do not need to use debug mode or have a webhook enabled. To disable webhook just set the value to "false" without parantheses. Please open an issue if an error occurs or feel free to contact me on Discord @me_and_the_birds

Showcase:

Showcase Showcase2

About

Last.fm scrobbler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages