diff options
author | Christian Pointner <equinox@helsinki.at> | 2017-01-06 01:34:49 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2017-01-06 01:34:49 (GMT) |
commit | 68b36d4940dfc9c581a44e0d3689b83ef3be8d12 (patch) | |
tree | 5093021f2f25f459d3191f762bb804986a16bf61 | |
parent | 11ff3ea58c83f82e4d9d7b58f4f57a8718a2f8a2 (diff) |
only show musicpools in nowplaying
-rw-r--r-- | nop/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |