From 8de4975e1805d6028019c8d5744ba1d310ce183f Mon Sep 17 00:00:00 2001 From: phunkyfish Date: Wed, 28 Aug 2024 06:59:35 +0100 Subject: [PATCH] Add basic StreamClosed implementation --- src/IptvSimple.cpp | 9 +++++++++ src/IptvSimple.h | 2 ++ 2 files changed, 11 insertions(+) diff --git a/src/IptvSimple.cpp b/src/IptvSimple.cpp index 864761d5..5e05c932 100644 --- a/src/IptvSimple.cpp +++ b/src/IptvSimple.cpp @@ -436,6 +436,15 @@ 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__); +} + /*************************************************************************** * InstanceSettings **************************************************************************/ diff --git a/src/IptvSimple.h b/src/IptvSimple.h index 69537928..a4a78a19 100644 --- a/src/IptvSimple.h +++ b/src/IptvSimple.h @@ -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& properties) override;