1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 09:36:59 -05:00

Merge pull request #38 from deathbybandaid/dev

Quality Bugfixes
This commit is contained in:
Deathbybandaid 2020-10-15 15:00:21 -04:00 committed by GitHub
commit 45ae1a618f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# uuid = # uuid =
# cache_dir = # cache_dir =
[empty] [blocks]
# epg_update_frequency = # epg_update_frequency =
[nextpvr] [nextpvr]

View File

@ -35,7 +35,7 @@ class BlocksEPG():
"name": c["name"], "name": c["name"],
"number": c["number"], "number": c["number"],
"id": c["id"], "id": c["id"],
"thumbnail": ("/images?source=empty&type=channel&id=%s" % (str(c['number']))), "thumbnail": ("/images?source=generate&message=%s" % (str(c['number']))),
"listing": [], "listing": [],
} }
@ -44,7 +44,7 @@ class BlocksEPG():
"time_start": timestamp['time_start'], "time_start": timestamp['time_start'],
"time_end": timestamp['time_end'], "time_end": timestamp['time_end'],
"duration_minutes": 60, "duration_minutes": 60,
"thumbnail": ("/images?source=empty&type=content&id=%s" % (str(c['number']))), "thumbnail": ("/images?source=generate&message=%s" % (str(c["id"]) + "_" + str(timestamp['time_start']))),
"title": "Unavailable", "title": "Unavailable",
"sub-title": "Unavailable", "sub-title": "Unavailable",
"description": "Unavailable", "description": "Unavailable",
@ -55,7 +55,7 @@ class BlocksEPG():
"seasonnumber": None, "seasonnumber": None,
"episodenumber": None, "episodenumber": None,
"isnew": False, "isnew": False,
"id": timestamp['time_start'], "id": str(c["id"]) + "_" + str(timestamp['time_start']),
} }
programguide[str(c["number"])]["listing"].append(clean_prog_dict) programguide[str(c["number"])]["listing"].append(clean_prog_dict)