Fix from_channel_program method in Program class

This commit is contained in:
samedamci 2021-09-16 19:07:05 +02:00
parent 9cce58625e
commit 4adc30eaab
No known key found for this signature in database
GPG Key ID: FCB4A9A20D00E894

View File

@ -23,7 +23,7 @@ class Program:
"name": data["name"], "name": data["name"],
"channel": data["channelKey"], "channel": data["channelKey"],
"epg_id": data["epgId"], "epg_id": data["epgId"],
"content_id": obj.epg_id, "content_id": data["epgId"],
"description": data["shortDescription"], "description": data["shortDescription"],
"ts_start": data["startTimestamp"], "ts_start": data["startTimestamp"],
"ts_stop": data["endTimestamp"], "ts_stop": data["endTimestamp"],