aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarnova <arnova@void.org>2012-11-11 13:36:45 +0100
committerarnova <arnova@void.org>2012-11-11 13:36:45 +0100
commit243d5b92bdaf81d720514cabd673970c3b0bd9ae (patch)
tree58b9bfd58d85a5ba849b3fecd488faa48eccae72
parent860cd918c0ba4524daf624ea0e522cc5b2afb499 (diff)
fixed: Video DB export for episodes didn't check for writable FS + cosmetics
-rw-r--r--xbmc/video/VideoDatabase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/video/VideoDatabase.cpp b/xbmc/video/VideoDatabase.cpp
index 8096edabfb..a698e801b1 100644
--- a/xbmc/video/VideoDatabase.cpp
+++ b/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))
{