Skip to content

Commit

Permalink
Fix EPG date
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvana-7777 committed Nov 2, 2023
1 parent 550f9d7 commit b48a153
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pvr.eon/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.eon"
version="20.7.0"
version="20.7.2"
name="EON PVR Client"
provider-name="Nirvana">
<requires>
Expand Down
6 changes: 5 additions & 1 deletion pvr.eon/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ v20.6.1
- Switch from adaptive to manual-osd for inputstream
- Fix not subscribed channels leading to crash
v20.7.0
- Add Android TV platform (e.g. BigScreen/4K)
- Add Android TV platform (e.g. BigScreen/4K
v20.7.1
- Adapt user agent header for platforms when streaming
v20.7.2
- Fix EPG date
4 changes: 2 additions & 2 deletions src/PVREon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -929,8 +929,8 @@ PVR_ERROR CPVREon::GetEPGForChannel(int channelUid,

std::string url = m_api + "v1/events/epg";
std::string params = "?cid=" + std::to_string(channel.iUniqueId) +
"&fromTime=" + std::to_string(start*1000) +
"&toTime=" + std::to_string(end*1000);
"&fromTime=" + std::to_string(start) + "000" +
"&toTime=" + std::to_string(end) + "000";

jsonEpg = m_httpClient->HttpGet(url + params, statusCode);

Expand Down

0 comments on commit b48a153

Please sign in to comment.