projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
047f375
)
videodb: don't reset the source path if it is temporarily offline
author
montellese
<montellese@xbmc.org>
Sun, 25 May 2014 15:09:23 +0000
(17:09 +0200)
committer
Trent Nelson
<trent.nelson@pivosgroup.com>
Sat, 7 Jun 2014 05:27:59 +0000
(13:27 +0800)
xbmc/video/VideoDatabase.cpp
patch
|
blob
|
history
diff --git
a/xbmc/video/VideoDatabase.cpp
b/xbmc/video/VideoDatabase.cpp
index
0b3987c
..
c2d6a45
100644
(file)
--- a/
xbmc/video/VideoDatabase.cpp
+++ b/
xbmc/video/VideoDatabase.cpp
@@
-8207,6
+8207,7
@@
std::vector<int> CVideoDatabase::CleanMediaType(const std::string &mediaType, co
}
parentPathsDeleteDecisions.insert(make_pair(parentPathID, make_pair(parentPathNotExists, del)));
+ pathsDeleteDecisions.insert(make_pair(parentPathID, parentPathNotExists && del));
}
// the only reason not to delete the file is if the parent path doesn't
// exist and the user decided to delete all the items it contained