bugfix playlist
This commit is contained in:
parent
d6026567f7
commit
35a184af47
@ -16,7 +16,7 @@ async def get_random_track(request, playlist_name=""):
|
||||
"SELECT * FROM track "
|
||||
"LEFT JOIN playlist_track ON (track.filepath = playlist_track.filepath) "
|
||||
"LEFT JOIN playlist ON (playlist_track.playlist_id = playlist.id) "
|
||||
"WHERE playlist.name = $1ORDER BY random() LIMIT 1",
|
||||
"WHERE playlist.name = $1 ORDER BY random() LIMIT 1",
|
||||
playlist_name)
|
||||
else:
|
||||
track = await conn.fetchrow(
|
||||
|
Loading…
x
Reference in New Issue
Block a user