Skip to content

Commit

Permalink
Make timers created by autorec and timerec editable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksooo committed Aug 31, 2024
1 parent 4289a2c commit 967a9fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Tvheadend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1042,14 +1042,14 @@ PVR_ERROR CTvheadend::GetTimerTypes(std::vector<kodi::addon::PVRTimerType>& 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. */
Expand All @@ -1059,14 +1059,14 @@ PVR_ERROR CTvheadend::GetTimerTypes(std::vector<kodi::addon::PVRTimerType>& 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. */
Expand Down

0 comments on commit 967a9fe

Please sign in to comment.