mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-25 02:57:57 +00:00
Convert "category_id" to string (but not category_ids"
This commit is contained in:
parent
85a639ec5f
commit
db7ca1a0c8
1 changed files with 2 additions and 2 deletions
|
|
@ -733,7 +733,7 @@ def xc_get_live_categories(user):
|
|||
for group in channel_groups:
|
||||
response.append(
|
||||
{
|
||||
"category_id": group.id,
|
||||
"category_id": str(group.id),
|
||||
"category_name": group.name,
|
||||
"parent_id": 0,
|
||||
}
|
||||
|
|
@ -785,7 +785,7 @@ def xc_get_live_streams(request, user, category_id=None):
|
|||
"epg_channel_id": int(channel.channel_number) if channel.channel_number.is_integer() else channel.channel_number,
|
||||
"added": int(time.time()), # @TODO: make this the actual created date
|
||||
"is_adult": 0,
|
||||
"category_id": channel.channel_group.id,
|
||||
"category_id": str(channel.channel_group.id),
|
||||
"category_ids": [channel.channel_group.id],
|
||||
"custom_sid": None,
|
||||
"tv_archive": 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue