Skip to content

Commit

Permalink
remove legacy functions, bump to 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelm committed Aug 16, 2017
1 parent eba6d0e commit a1e4bb0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
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="3.2.0"
version="3.2.1"
name="DVBViewer Client"
provider-name="A600, Manuel Mausz">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.dvbviewer/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.2.1
[removed] legacy functions

3.2.0
[updated] to PVR API v5.6.0
[updated] migrate add-on settings to settings library
Expand Down
11 changes: 0 additions & 11 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,16 +496,6 @@ void CloseLiveStream(void)
SAFE_DELETE(strReader);
}

bool SwitchChannel(const PVR_CHANNEL &channel)
{
if (channel.iUniqueId == DvbData->GetCurrentClientChannel())
return true;

/* as of late we need to close and reopen ourself */
(void)CloseLiveStream();
return OpenLiveStream(channel);
}

bool IsRealTimeStream()
{
return (strReader) ? strReader->NearEnd() : false;
Expand Down Expand Up @@ -673,7 +663,6 @@ PVR_ERROR GetRecordingEdl(const PVR_RECORDING&, PVR_EDL_ENTRY[], int*) { return
PVR_ERROR UndeleteRecording(const PVR_RECORDING& _UNUSED(recording)) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR DeleteAllRecordingsFromTrash() { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR SetEPGTimeFrame(int iDays) { return PVR_ERROR_NOT_IMPLEMENTED; }
unsigned int GetChannelSwitchDelay(void) { return 0; }
bool SeekTime(double time, bool backwards, double *startpts) { return false; }
void SetSpeed(int speed) {};
PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO*) { return PVR_ERROR_NOT_IMPLEMENTED; }
Expand Down

0 comments on commit a1e4bb0

Please sign in to comment.