From 68b36d4940dfc9c581a44e0d3689b83ef3be8d12 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 6 Jan 2017 02:34:49 +0100 Subject: only show musicpools in nowplaying diff --git a/nop/views.py b/nop/views.py index 9fd87ee..c66b66c 100644 --- a/nop/views.py +++ b/nop/views.py @@ -89,7 +89,7 @@ def _current(): if show['id'] in MUSIKPROG_IDS \ or (show['id'] in SPECIAL_PROGRAM_IDS and not show['note']): - result = _which().objects.using(DB).all()[0] + result = _which().objects.using(DB).filter(carttype__exact='pool')[0] artist = result.artist title = result.title album = result.album -- cgit v0.10.2