mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 00:55:50 +00:00
fix: update xc_stream_live_streams to yield opening bracket at start.
This commit is contained in:
parent
bdfad0f314
commit
d09674cd95
1 changed files with 2 additions and 1 deletions
|
|
@ -2322,7 +2322,8 @@ def xc_get_live_streams(request, user, category_id=None):
|
|||
def _xc_stream_live_streams(request, user, category_id=None):
|
||||
channels, channel_num_map, _get_default_group_id, _logo_url_prefix, _logo_url_suffix = \
|
||||
_xc_live_streams_setup(request, user, category_id)
|
||||
sep = "["
|
||||
yield "["
|
||||
sep = ""
|
||||
for channel in channels:
|
||||
yield sep + json.dumps(
|
||||
_xc_channel_entry(channel, channel_num_map, _get_default_group_id, _logo_url_prefix, _logo_url_suffix)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue