Skip to content

Commit

Permalink
Merge branch 'cleanup'
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuehlma committed Dec 28, 2017
2 parents 54afaab + ee69a5c commit 099e93e
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ using namespace ADDON;

ADDON_STATUS m_CurStatus = ADDON_STATUS_UNKNOWN;
ZatData *zat = NULL;
time_t g_pvrZattooTimeShift;

/* User adjustable settings are saved here.
* Default values are defined inside client.h
Expand Down Expand Up @@ -80,8 +79,6 @@ ADDON_STATUS ADDON_Create(void *hdl, void *props)
return ADDON_STATUS_UNKNOWN;
}

g_pvrZattooTimeShift = 0;

PVR_PROPERTIES *pvrprops = (PVR_PROPERTIES *) props;

XBMC = new CHelper_libXBMC_addon;
Expand Down Expand Up @@ -649,13 +646,6 @@ int GetRecordingLastPlayedPosition(const PVR_RECORDING &recording)
return ret;
}

time_t GetPlayingTime()
{
time_t current_time;
time(&current_time);
return current_time - g_pvrZattooTimeShift;
}

/** UNUSED API FUNCTIONS */
bool CanPauseStream(void)
{
Expand All @@ -678,10 +668,6 @@ PVR_ERROR RenameChannel(const PVR_CHANNEL &channel)
{
return PVR_ERROR_NOT_IMPLEMENTED;
}
PVR_ERROR MoveChannel(const PVR_CHANNEL &channel)
{
return PVR_ERROR_NOT_IMPLEMENTED;
}
PVR_ERROR OpenDialogChannelSettings(const PVR_CHANNEL &channel)
{
return PVR_ERROR_NOT_IMPLEMENTED;
Expand All @@ -705,10 +691,6 @@ long long SeekRecordedStream(long long iPosition, int iWhence /* = SEEK_SET */)
{
return 0;
}
long long PositionRecordedStream(void)
{
return -1;
}
long long LengthRecordedStream(void)
{
return 0;
Expand All @@ -727,10 +709,6 @@ long long SeekLiveStream(long long iPosition, int iWhence /* = SEEK_SET */)
{
return -1;
}
long long PositionLiveStream(void)
{
return -1;
}
long long LengthLiveStream(void)
{
return -1;
Expand Down Expand Up @@ -781,15 +759,6 @@ bool SeekTime(double, bool, double*)
void SetSpeed(int)
{
}
;
time_t GetBufferTimeStart()
{
return 0;
}
time_t GetBufferTimeEnd()
{
return 0;
}
PVR_ERROR UndeleteRecording(const PVR_RECORDING& recording)
{
return PVR_ERROR_NOT_IMPLEMENTED;
Expand Down

0 comments on commit 099e93e

Please sign in to comment.