minor fix
Some checks are pending
PR build and push docker image / build-and-push-pr (push) Waiting to run
Some checks are pending
PR build and push docker image / build-and-push-pr (push) Waiting to run
This commit is contained in:
parent
010d57bf4c
commit
c280160e8b
@ -33,9 +33,10 @@ class PlayerController(ObController):
|
||||
preview_content_id = request.args.get('preview_content_id')
|
||||
playlist_slug_or_id = self._get_dynamic_playlist_id(playlist_slug_or_id)
|
||||
|
||||
current_playlist = self._model_store.playlist().get_one_by("slug = ? OR id = ?", {
|
||||
current_playlist = self._model_store.playlist().get_one_by("(slug = ? OR id = ?) AND enabled = ?", {
|
||||
"slug": playlist_slug_or_id,
|
||||
"id": playlist_slug_or_id
|
||||
"id": playlist_slug_or_id,
|
||||
"enabled": True
|
||||
})
|
||||
|
||||
if playlist_slug_or_id and not current_playlist:
|
||||
|
||||
@ -1 +1 @@
|
||||
2.4.0
|
||||
2.4.1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user