Django app implementing the server-side Audioscrobbler protocol
Install via pip into a virtualenv:
pip install git+https://github.com/jlieth/django-scrobble-serverThe functionality is split into different sub-apps. Currently available apps:
scrobble_server.core: Core functionality (music and submission models, chart functionality). Requiredscrobble_server.api.v12: Support for the Audioscrobbler 1.2 protocol
This allows you to choose which apps you actually want to use. There is obviously not much of a choice right now, but I do plan to implement the Audioscrobbler/Last.fm protocol 2.0 at some point.
In settings.py, add the apps you want to use:
INSTALLED_APPS = (
...
"scrobble_server.core",
"scrobble_server.api.v12",
)Execute migrations:
python manage.py migrateInclude the urls in your urls.py:
from django.urls import include, path
urlpatterns = [
...
path("url-prefix/", include("scrobble_server.urls")),
...
]