diff options
-rw-r--r-- | xbmc/filesystem/PluginDirectory.cpp | 2 | ||||
-rw-r--r-- | xbmc/interfaces/legacy/ModuleXbmcplugin.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xbmc/filesystem/PluginDirectory.cpp b/xbmc/filesystem/PluginDirectory.cpp index caff5c36b0..76eaf43174 100644 --- a/xbmc/filesystem/PluginDirectory.cpp +++ b/xbmc/filesystem/PluginDirectory.cpp @@ -227,7 +227,7 @@ void CPluginDirectory::EndOfDirectory(int handle, bool success, bool replaceList return; // set cache to disc - dir->m_listItems->SetCacheToDisc(CFileItemList::CACHE_NEVER); + dir->m_listItems->SetCacheToDisc(cacheToDisc ? CFileItemList::CACHE_IF_SLOW : CFileItemList::CACHE_NEVER); dir->m_success = success; dir->m_listItems->SetReplaceListing(replaceListing); diff --git a/xbmc/interfaces/legacy/ModuleXbmcplugin.h b/xbmc/interfaces/legacy/ModuleXbmcplugin.h index 2237ccd204..081e27bc07 100644 --- a/xbmc/interfaces/legacy/ModuleXbmcplugin.h +++ b/xbmc/interfaces/legacy/ModuleXbmcplugin.h @@ -131,8 +131,8 @@ namespace XBMCAddon /// @param updateListing [opt] bool - True=this folder should /// update the current listing/False=Folder /// is a subfolder(Default). - /// @param cacheToDisc [opt] bool - True=Allow folder to be cached - /// (default)/False=this folder + /// @param cacheToDisc [opt] bool - True=Folder will cache if + /// extended time(default)/False=this folder /// will never cache to disc. /// /// |