Skip to content

Commit

Permalink
Merge pull request #4 from FernetMenta/sync
Browse files Browse the repository at this point in the history
sync to pvr API 1.9.6
  • Loading branch information
FernetMenta committed Mar 21, 2015
2 parents 1831aaa + 0fb7ea8 commit 3a28e39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pvr.vdr.vnsi/addon.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.vdr.vnsi"
version="1.10.3"
version="1.10.4"
name="VDR VNSI Client"
provider-name="FernetMenta, Team XBMC">
<requires>
<c-pluff version="0.1"/>
<import addon="xbmc.pvr" version="1.9.5"/>
<import addon="xbmc.pvr" version="1.9.6"/>
<import addon="xbmc.codec" version="1.0.1"/>
<import addon="kodi.guilib" version="5.8.0"/>
</requires>
Expand Down
7 changes: 7 additions & 0 deletions src/VNSIData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,12 @@ bool cVNSIData::GetEPGForChannel(ADDON_HANDLE handle, const PVR_CHANNEL &channel
tag.strTitle = vresp->extract_String();
tag.strPlotOutline = vresp->extract_String();
tag.strPlot = vresp->extract_String();
tag.strOriginalTitle = "";
tag.strCast = "";
tag.strDirector = "";
tag.strWriter = "";
tag.iYear = 0;
tag.strIMDBNumber = "";

PVR->TransferEpgEntry(handle, &tag);
delete[] tag.strTitle;
Expand Down Expand Up @@ -1161,6 +1167,7 @@ bool cVNSIData::GetChannelGroupList(ADDON_HANDLE handle, bool bRadio)
char *strGroupName = vresp->extract_String();
strncpy(tag.strGroupName, strGroupName, sizeof(tag.strGroupName) - 1);
tag.bIsRadio = vresp->extract_U8()!=0?true:false;
tag.iPosition = 0;

PVR->TransferChannelGroup(handle, &tag);

Expand Down

0 comments on commit 3a28e39

Please sign in to comment.