Skip to content

Commit

Permalink
Merge pull request #886 from phunkyfish/add-stream-closed
Browse files Browse the repository at this point in the history
Add basic StreamClosed implementation
  • Loading branch information
phunkyfish authored Aug 28, 2024
2 parents 4d4d55e + 52f9bfd commit a6d9e91
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/IptvSimple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,17 @@ PVR_ERROR IptvSimple::GetSignalStatus(int channelUid, kodi::addon::PVRSignalStat
return PVR_ERROR_NO_ERROR;
}

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

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

return PVR_ERROR_NO_ERROR;
}

/***************************************************************************
* 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 a6d9e91

Please sign in to comment.