Skip to content

Commit

Permalink
Merge pull request #15779 from linknetx/pvr-find-similar
Browse files Browse the repository at this point in the history
[PVR] Timers context menu 'Find similar' missing
  • Loading branch information
ksooo committed Mar 20, 2019
2 parents b0e84f1 + 08820ea commit bac95d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xbmc/pvr/PVRContextMenus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ namespace PVR
if (item.GetEPGInfoTag())
return true;

const CPVRTimerInfoTagPtr timer(item.GetPVRTimerInfoTag());
if (timer && !URIUtils::PathEquals(item.GetPath(), CPVRTimersPath::PATH_ADDTIMER))
return timer->GetEpgInfoTag().get() != nullptr;

const CPVRRecordingPtr recording(item.GetPVRRecordingInfoTag());
if (recording)
return !recording->IsDeleted();
Expand Down

0 comments on commit bac95d3

Please sign in to comment.