Skip to content

Commit

Permalink
Merge pull request #15281 from ksooo/pvr-fix-logspam
Browse files Browse the repository at this point in the history
[video][filesystem] Fix "XFILE::CFileFactory::CreateLoader - unsupported protocol(pvr)" logspam.
  • Loading branch information
ksooo committed Jan 18, 2019
2 parents 4b118e9 + 6a0d6e2 commit 9a49e6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions xbmc/filesystem/FileFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ IFile* CFileFactory::CreateLoader(const CURL& url)
else if (url.IsProtocol("musicdb")) return new CMusicDatabaseFile();
else if (url.IsProtocol("videodb")) return new CVideoDatabaseFile();
else if (url.IsProtocol("library")) return nullptr;
else if (url.IsProtocol("pvr")) return nullptr;
else if (url.IsProtocol("special")) return new CSpecialProtocolFile();
else if (url.IsProtocol("multipath")) return new CMultiPathFile();
else if (url.IsProtocol("image")) return new CImageFile();
Expand Down
2 changes: 1 addition & 1 deletion xbmc/video/VideoThumbLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ bool CThumbExtractor::DoWork()
if (m_item.IsLiveTV()
// Due to a pvr addon api design flaw (no support for multiple concurrent streams
// per addon instance), pvr recording thumbnail extraction does not work (reliably).
|| m_item.IsPVRRecording()
|| URIUtils::IsPVRRecording(m_item.GetDynPath())
|| URIUtils::IsUPnP(m_item.GetPath())
|| URIUtils::IsBluray(m_item.GetPath())
|| m_item.IsBDFile()
Expand Down

0 comments on commit 9a49e6c

Please sign in to comment.