Skip to content

Commit

Permalink
Add basic StreamClosed implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Aug 28, 2024
1 parent 4d4d55e commit a6c2870
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/IptvSimple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,15 @@ PVR_ERROR IptvSimple::GetSignalStatus(int channelUid, kodi::addon::PVRSignalStat
return PVR_ERROR_NO_ERROR;
}

/***************************************************************************
* Stream State
**************************************************************************/

void IptvSimple::StreamClosed()
{
Logger::Log(LEVEL_INFO, "%s - Stream Closed", __FUNCTION__);
}

/***************************************************************************
* InstanceSettings
**************************************************************************/
Expand Down
2 changes: 2 additions & 0 deletions src/IptvSimple.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class ATTR_DLL_LOCAL IptvSimple : public iptvsimple::IConnectionListener

PVR_ERROR GetSignalStatus(int channelUid, kodi::addon::PVRSignalStatus& signalStatus) override;

PVR_ERROR StreamClosed() override;

PVR_ERROR GetRecordingsAmount(bool deleted, int& amount) override;
PVR_ERROR GetRecordings(bool deleted, kodi::addon::PVRRecordingsResultSet& results) override;
PVR_ERROR GetRecordingStreamProperties(const kodi::addon::PVRRecording& recording, std::vector<kodi::addon::PVRStreamProperty>& properties) override;
Expand Down

0 comments on commit a6c2870

Please sign in to comment.