diff --git a/pvr.hts/addon.xml.in b/pvr.hts/addon.xml.in index 09d47a87..a3d4139f 100644 --- a/pvr.hts/addon.xml.in +++ b/pvr.hts/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/src/Tvheadend.cpp b/src/Tvheadend.cpp index 2d100534..4800313c 100644 --- a/src/Tvheadend.cpp +++ b/src/Tvheadend.cpp @@ -754,15 +754,15 @@ PVR_ERROR CTvheadend::GetRecordingLastPlayedPosition(const kodi::addon::PVRRecor if (!m_asyncState.WaitForState(ASYNC_EPG)) return PVR_ERROR_FAILED; - std::lock_guard lock(m_mutex); - - const auto& it = m_recordings.find(std::stoul(rec.GetRecordingId())); - if (it != m_recordings.end() && it->second.IsRecording()) - { - Logger::Log(LogLevel::LEVEL_DEBUG, "Getting play position %i for recording %s", - it->second.GetPlayPosition(), rec.GetTitle().c_str()); - playPosition = it->second.GetPlayPosition(); - } +// std::lock_guard lock(m_mutex); +// +// const auto& it = m_recordings.find(std::stoul(rec.GetRecordingId())); +// if (it != m_recordings.end() && it->second.IsRecording()) +// { +// Logger::Log(LogLevel::LEVEL_DEBUG, "Getting play position %i for recording %s", +// it->second.GetPlayPosition(), rec.GetTitle().c_str()); +// playPosition = it->second.GetPlayPosition(); +// } return PVR_ERROR_NO_ERROR; }