A simple script that batch scrobbles Spotify Data. Can also scrobble one song.
Related: Spotify-Data-Splitter
- Install python 3.8 or higher from here
- Install the script using
git clone https://github.com/SpaghettDev/LastFM-Batch-Scrobbler
or click the green download button above - If you have installed using the green download button, extract the file somewhere
- Open your preffered shell and
cd
into the directory containing the project - Fill the .env file with the information needed. For the API key and SECRET visit the LastFM api creation page
- Run
pip install -r requirements.txt
to install the needed dependency (pylast)
python main.py "path/to/data.json"
and
python main.py "artist" "track" [timestamp]
eg.:
- Scrobbling a file
python main.py "path/to/data_split1.json"
- Scrobbling a single track Right Now:
python main.py "Kanye West" "No More Parties In LA"
Specific Time (date):
python main.py "Kanye West" "No More Parties In LA" 2023-08-09
Specific Time (Unix Timestamp):
python main.py "Kanye West" "No More Parties In LA" 1691586000