From 3e6a2087757c0f98192c462e5ffb2e712ed45e18 Mon Sep 17 00:00:00 2001 From: Rainer Hochecker Date: Sun, 12 Apr 2015 11:54:45 +0200 Subject: [PVR] disable thumb extraction for pvr recordings --- xbmc/cores/dvdplayer/DVDFileInfo.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xbmc/cores/dvdplayer/DVDFileInfo.cpp b/xbmc/cores/dvdplayer/DVDFileInfo.cpp index c7641894d0..ac905b6028 100644 --- a/xbmc/cores/dvdplayer/DVDFileInfo.cpp +++ b/xbmc/cores/dvdplayer/DVDFileInfo.cpp @@ -55,6 +55,7 @@ #include "TextureCache.h" #include "Util.h" #include "utils/LangCodeExpander.h" +#include "pvr/PVRManager.h" bool CDVDFileInfo::GetFileDuration(const std::string &path, int& duration) @@ -116,6 +117,12 @@ bool CDVDFileInfo::ExtractThumb(const std::string &strPath, return false; } + if (pInputStream->IsStreamType(DVDSTREAM_TYPE_PVRMANAGER)) + { + delete pInputStream; + return false; + } + if (!pInputStream->Open(strPath.c_str(), "")) { CLog::Log(LOGERROR, "InputStream: Error opening, %s", redactPath.c_str()); -- cgit v1.2.3