Giter Site home page Giter Site logo

scrobbler's Introduction

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

scrobbler's People

Contributors

cantwont avatar

Watchers

 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.