Skip to content

Commit

Permalink
Update PVR API 6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Mar 17, 2020
1 parent a3348c4 commit 91ae1b9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pvr.dvbviewer/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.dvbviewer"
version="4.1.3"
version="4.1.4"
name="DVBViewer Client"
provider-name="Manuel Mausz">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
6 changes: 6 additions & 0 deletions pvr.dvbviewer/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
4.1.4:
[updated] PVR API 6.2.0

4.1.3
[updated] Language files from Transifex

4.1.2
[updated] Language files from Transifex
[updated] Add kodi-platform, p8-platform and tinyxml to addon depends instead of from kodi
Expand Down
5 changes: 5 additions & 0 deletions src/DvbData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ bool Dvb::GetEPGForChannel(ADDON_HANDLE handle, int iChannelUid,
broadcast.iGenreType = entry.genre & 0xF0;
broadcast.iGenreSubType = entry.genre & 0x0F;
broadcast.iFlags = EPG_TAG_FLAG_UNDEFINED;
broadcast.iSeriesNumber = EPG_TAG_INVALID_SERIES_EPISODE;
broadcast.iEpisodeNumber = EPG_TAG_INVALID_SERIES_EPISODE;
broadcast.iEpisodePartNumber = EPG_TAG_INVALID_SERIES_EPISODE;

PVR->TransferEpgEntry(handle, &broadcast);
++numEPG;
Expand Down Expand Up @@ -580,6 +583,8 @@ bool Dvb::GetRecordings(ADDON_HANDLE handle)
recinfo.iLastPlayedPosition = recording.lastPlayPosition;
recinfo.iChannelUid = PVR_CHANNEL_INVALID_UID;
recinfo.channelType = PVR_RECORDING_CHANNEL_TYPE_UNKNOWN;
recinfo.iSeriesNumber = PVR_RECORDING_INVALID_SERIES_EPISODE;
recinfo.iEpisodeNumber = PVR_RECORDING_INVALID_SERIES_EPISODE;

if (recording.channel)
{
Expand Down

0 comments on commit 91ae1b9

Please sign in to comment.