Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed: Video DB export for episodes didn't check for writable FS + co…

…smetics
  • Loading branch information...
commit 243d5b92bdaf81d720514cabd673970c3b0bd9ae 1 parent 860cd91
arnova authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/video/VideoDatabase.cpp
View
4 xbmc/video/VideoDatabase.cpp
@@ -8338,7 +8338,7 @@ void CVideoDatabase::ExportToXML(const CStdString &path, bool singleFiles /* = f
}
CFileItem item(movie.m_strFileNameAndPath,false);
- if (CUtil::SupportsWriteFileOperations(movie.m_strFileNameAndPath) && singleFiles)
+ if (singleFiles && CUtil::SupportsWriteFileOperations(movie.m_strFileNameAndPath))
{
if (!item.Exists(false))
{
@@ -8538,7 +8538,7 @@ void CVideoDatabase::ExportToXML(const CStdString &path, bool singleFiles /* = f
bool bSkip = false;
CFileItem item(episode.m_strFileNameAndPath, false);
- if (singleFiles)
+ if (singleFiles && CUtil::SupportsWriteFileOperations(episode.m_strFileNameAndPath))
{
if (!item.Exists(false))
{
Please sign in to comment.
Something went wrong with that request. Please try again.