mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-28 04:28:01 +00:00
Fixed anonymous play count
This commit is contained in:
@@ -100,6 +100,7 @@ def get_mix_stream_url(request, mix_id):
|
||||
request.session['play_count'] = 1
|
||||
|
||||
mix = Mix.objects.get(pk=mix_id)
|
||||
mix.add_play(request.user)
|
||||
data = {
|
||||
'stream_url': mix.get_stream_path(),
|
||||
'description': mix.description,
|
||||
|
||||
Reference in New Issue
Block a user