Skip to content

Commit

Permalink
Feature/support for catchup (botallen#3)
Browse files Browse the repository at this point in the history
* OS-001 fix featured catchup

* OS-001 fix catchup from context menu
  • Loading branch information
krreet authored Feb 5, 2023
1 parent e283a41 commit e0d768e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def show_epg(plugin, day, channel_id):
"showtime": None if islive else each.get("showtime", "").replace(":", ""),
"srno": None if islive else datetime.fromtimestamp(int(each.get("startEpoch", 0)*.001)).strftime('%Y%m%d'),
"stream_type": None if islive else "Catchup",
"programId": None if islive else each.get("srno", "").replace(":", ""),
"programId": None if islive else each.get("srno", ""),
"begin": None if islive else datetime.utcfromtimestamp(int(each.get("startEpoch", 0)*.001)).strftime('%Y%m%dT%H%M%S'),
"end": None if islive else datetime.utcfromtimestamp(int(each.get("endEpoch", 0)*.001)).strftime('%Y%m%dT%H%M%S')
}
Expand Down

0 comments on commit e0d768e

Please sign in to comment.