Skip to content

A simple script that batch scrobbles Spotify Data. Can also scrobble one song.

License

Notifications You must be signed in to change notification settings

SpaghettDev/LastFM-Batch-Scrobbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LastFM-Batch-Scrobbler

A simple script that batch scrobbles Spotify Data. Can also scrobble one song.
Related: Spotify-Data-Splitter

Setup:

  1. Install python 3.8 or higher from here
  2. Install the script using git clone https://github.com/SpaghettDev/LastFM-Batch-Scrobbler or click the green download button above
  3. If you have installed using the green download button, extract the file somewhere
  4. Open your preffered shell and cd into the directory containing the project
  5. Fill the .env file with the information needed. For the API key and SECRET visit the LastFM api creation page
  6. Run pip install -r requirements.txt to install the needed dependency (pylast)

Usage:

python main.py "path/to/data.json"

and

python main.py "artist" "track" [timestamp]

eg.:

  1. Scrobbling a file
python main.py "path/to/data_split1.json"
  1. 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

About

A simple script that batch scrobbles Spotify Data. Can also scrobble one song.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages