From 967a9fe8dcc8b2893f5c2b5423186fc6dab03ab4 Mon Sep 17 00:00:00 2001 From: ksooo <3226626+ksooo@users.noreply.github.com> Date: Sat, 31 Aug 2024 20:10:38 +0200 Subject: [PATCH] Make timers created by autorec and timerec editable. --- src/Tvheadend.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Tvheadend.cpp b/src/Tvheadend.cpp index 2fa799cf..2c419c49 100644 --- a/src/Tvheadend.cpp +++ b/src/Tvheadend.cpp @@ -1042,14 +1042,14 @@ PVR_ERROR CTvheadend::GetTimerTypes(std::vector& type /* Values definitions for lifetime. */ lifetimeValues)); - /* Read-only one-shot for timers generated by timerec */ + /* One-shot for timers generated by timerec */ types.emplace_back(TimerType( /* Settings */ m_settings, /* Type id. */ TIMER_ONCE_CREATED_BY_TIMEREC, /* Attributes. */ - TIMER_ONCE_MANUAL_ATTRIBS | PVR_TIMER_TYPE_IS_READONLY | PVR_TIMER_TYPE_FORBIDS_NEW_INSTANCES, + TIMER_ONCE_MANUAL_ATTRIBS | PVR_TIMER_TYPE_FORBIDS_NEW_INSTANCES, /* Description. */ kodi::addon::GetLocalizedString(30350), // "One Time (Scheduled by timer rule)" /* Custom int settings definitions. */ @@ -1059,14 +1059,14 @@ PVR_ERROR CTvheadend::GetTimerTypes(std::vector& type /* Values definitions for lifetime. */ lifetimeValues)); - /* Read-only one-shot for timers generated by autorec */ + /* One-shot for timers generated by autorec */ types.emplace_back(TimerType( /* Settings */ m_settings, /* Type id. */ TIMER_ONCE_CREATED_BY_AUTOREC, /* Attributes. */ - TIMER_ONCE_EPG_ATTRIBS | PVR_TIMER_TYPE_IS_READONLY | PVR_TIMER_TYPE_FORBIDS_NEW_INSTANCES, + TIMER_ONCE_EPG_ATTRIBS | PVR_TIMER_TYPE_FORBIDS_NEW_INSTANCES, /* Description. */ kodi::addon::GetLocalizedString(30350), // "One Time (Scheduled by timer rule)" /* Custom int settings definitions. */