Skip to content
My own AudioScrobbler server implementation, v3.
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
ext_lastfm
scrobbler
.gitignore
.gitlab-ci.yml
README.md
manage.py
requirements.txt

README.md

scrobbler

This is a third version of my personal AudioScrobbler server implementation.
Written using Python 3.4+.

Preview

Top Artists

Dashboard

Installation

pip install -r requirements.txt

cp scrobbler/config.py.example scrobbler/config.py

patch scrobbler/config.py <<EOF
@@ -5,2 +5,2 @@
-SECRET_KEY = 'ChangeMe'
+SECRET_KEY = '$(echo $RANDOM | openssl sha256 | cut -c10-)'
-SIGNUP_ENABLED = False
+SIGNUP_ENABLED = True
EOF

# maybe edit SQLALCHEMY_DATABASE_URI
${EDITOR-nano} scrobbler/config.py

sudo -u postgres createuser -P scrobbler
sudo -u postgres createdb -O scrobbler scrobbler 

python manage.py initdb
python manage.py runserver

Client configuration

Make sure that the application server works on the 80 port.
Add the corresponding entries to the /etc/hosts file on the client machines you wish to scrobble from.
Example:

{
cat <<'EOF'

# scrobbler server redirects
127.0.0.1 ws.audioscrobbler.com
127.0.0.1 post.audioscrobbler.com
127.0.0.1 post2.audioscrobbler.com

EOF
} | sudo tee -a /etc/hosts
You can’t perform that action at this time.