See #170: now record downloads count on tracks/uploads

This commit is contained in:
Eliot Berriot 2020-01-20 12:13:02 +01:00
parent 3674d1235d
commit b22b9c83b0
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
12 changed files with 161 additions and 18 deletions

View file

@ -285,6 +285,7 @@ class SubsonicViewSet(viewsets.GenericViewSet):
# Subsonic clients don't expect 302 redirection unfortunately,
# So we have to proxy media files
proxy_media=True,
wsgi_request=request._request,
)
@action(detail=False, methods=["get", "post"], url_name="star", url_path="star")