diff options
author | jenkins4kodi <jenkins4kodi@users.noreply.github.com> | 2014-12-31 18:02:51 +0100 |
---|---|---|
committer | jenkins4kodi <jenkins4kodi@users.noreply.github.com> | 2014-12-31 18:02:51 +0100 |
commit | 4813693a8e64a1eb7e1aa2b624aa5397dd31c5f6 (patch) | |
tree | b345b19d2de11a476e7118de315e1f61f4f0f3ef | |
parent | 17713379854906cf7562a53f0d701ed39be9e1f7 (diff) | |
parent | 3657b9e753d98bf9630d4ffe53841227fc34e87d (diff) |
Merge pull request #6066 from Jalle19/fix-15591
-rw-r--r-- | xbmc/filesystem/PVRDirectory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/filesystem/PVRDirectory.cpp b/xbmc/filesystem/PVRDirectory.cpp index 29f7693698..7680f58fba 100644 --- a/xbmc/filesystem/PVRDirectory.cpp +++ b/xbmc/filesystem/PVRDirectory.cpp @@ -118,5 +118,6 @@ bool CPVRDirectory::IsLiveTV(const std::string& strPath) bool CPVRDirectory::HasRecordings() { - return g_PVRRecordings->GetNumRecordings() > 0; + return g_PVRManager.IsStarted() ? + g_PVRRecordings->GetNumRecordings() > 0 : false; } |