Bug Fix: XtreamCodes EPG has_archive field now returns integer 0 instead of string "0" for proper JSON type consistency

This commit is contained in:
SergeantPanda 2025-12-19 18:39:43 -06:00
parent 05b62c22ad
commit ee183a9f75
2 changed files with 5 additions and 1 deletions

View file

@ -2326,7 +2326,7 @@ def xc_get_epg(request, user, short=False):
if short == False:
program_output["now_playing"] = 1 if start <= django_timezone.now() <= end else 0
program_output["has_archive"] = "0"
program_output["has_archive"] = 0
output['epg_listings'].append(program_output)