https://github.com/jeschkies/spotify-connect-scrobbler
A Small Webservice That Scrobbles Spotify Connect Plays
https://github.com/jeschkies/spotify-connect-scrobbler
lastfm-api scrobble-bot scrobbler spotify-api
Last synced: 4 months ago
JSON representation
A Small Webservice That Scrobbles Spotify Connect Plays
- Host: GitHub
- URL: https://github.com/jeschkies/spotify-connect-scrobbler
- Owner: jeschkies
- License: mit
- Created: 2017-05-21T19:45:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-02T22:13:18.000Z (almost 9 years ago)
- Last Synced: 2025-07-19T09:53:39.677Z (11 months ago)
- Topics: lastfm-api, scrobble-bot, scrobbler, spotify-api
- Language: Python
- Size: 24.4 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Spotify Connect Scrobbler
[](https://travis-ci.org/jeschkies/spotify-connect-scrobbler) [](https://codecov.io/gh/jeschkies/spotify-connect-scrobbler)
A Small Webservice That Scrobbles Spotify Connect Plays
# Setup
The best way to run this scrobbler is with [virtualenv](https://virtualenv.pypa.io).
Assuming you have already virtualenv and Python 3.6 installed, create a new environment
```bash
virtualenv --python=python3.6
```
Activate the environment and install the scrobbler from git:
```bash
cd
source bin/activate
bin/pip install git+https://github.com/jeschkies/spotify-connect-scrobbler.git
```
Verify that the scrobbler is avialable:
```bash
scrobbler --help
```
The scrobbler requires access tokens to the Spotify web API and Last.fm API.
You authenticate your accounts with
```
SPOTIFY_CLIENT_ID= \
SPOTIFY_CLIENT_SECRET= \
LASTFM_API_KEY= \
LASTFM_API_SECRET= \
scrobbler-auth
```
After you've followed the instructions the access tokens are saved to the
credentials file you've specified. This file is required by the scrobbler.
# Build Instructions
We use tox for building and testing. Just install and run tox
```
pip install tox
tox
```