mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Fixed streaming
This commit is contained in:
parent
54e4a77ae5
commit
ed9399da79
@ -57,7 +57,9 @@ def stream_media():
|
||||
if client:
|
||||
prefs = store.get(ClientPrefs, (request.user.id, client))
|
||||
if not prefs:
|
||||
prefs = ClientPrefs(user_id = request.user.id, client_name = client)
|
||||
prefs = ClientPrefs()
|
||||
prefs.user_id = request.user.id
|
||||
prefs.client_name = client
|
||||
store.add(prefs)
|
||||
|
||||
if prefs.format:
|
||||
|
Loading…
Reference in New Issue
Block a user