Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[pvr] fixed - check for a recording tag instead of checking the path …

…in CGUIWindowPVRCommon::PlayFile(). fixes dialog popping up that a channel can't be played when selecting a recording. closes trac 13373
  • Loading branch information...
commit 2680e87f3aa35b1235dc2dc784f20df8290b5a46 1 parent d925641
Lars Op den Kamp opdenkamp authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/pvr/windows/GUIWindowPVRCommon.cpp
4 xbmc/pvr/windows/GUIWindowPVRCommon.cpp
View
@@ -610,7 +610,7 @@ bool CGUIWindowPVRCommon::ShowTimerSettings(CFileItem *item)
bool CGUIWindowPVRCommon::PlayRecording(CFileItem *item, bool bPlayMinimized /* = false */)
{
- if (item->GetPath().Left(17) != "pvr://recordings/")
+ if (!item->HasPVRRecordingInfoTag())
return false;
CStdString stream = item->GetPVRRecordingInfoTag()->m_strStreamURL;
@@ -679,7 +679,7 @@ bool CGUIWindowPVRCommon::PlayFile(CFileItem *item, bool bPlayMinimized /* = fal
g_settings.m_bStartVideoWindowed = bPlayMinimized;
- if (item->GetPath().Left(17) == "pvr://recordings/")
+ if (item->HasPVRRecordingInfoTag())
{
return PlayRecording(item, bPlayMinimized);
}
Please sign in to comment.
Something went wrong with that request. Please try again.