Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic StreamClosed implementation #886

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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