diff options
author | montellese <montellese@xbmc.org> | 2012-01-10 10:28:54 +0100 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2012-01-10 10:28:54 +0100 |
commit | 6aa04be25d47b654d45c906ced9d5affe74e43e8 (patch) | |
tree | c25d352c7ba69e5f160a48828b3d60167f6f3e63 | |
parent | dd0663108ba2c5f674076630e94a8e3e892e19df (diff) |
jsonrpc: fix non-database items not showing up in Files.GetDirectory if "media" is specified
-rw-r--r-- | xbmc/interfaces/json-rpc/FileOperations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/interfaces/json-rpc/FileOperations.cpp b/xbmc/interfaces/json-rpc/FileOperations.cpp index 6317047125..8dca2758bc 100644 --- a/xbmc/interfaces/json-rpc/FileOperations.cpp +++ b/xbmc/interfaces/json-rpc/FileOperations.cpp @@ -124,7 +124,7 @@ JSON_STATUS CFileOperations::GetDirectory(const CStdString &method, ITransportLa else filteredFiles.Add(CFileItemPtr(new CFileItem(fileItem))); } - else if (media == "files" || items[i]->m_bIsFolder) + else { if (items[i]->m_bIsFolder) filteredDirectories.Add(items[i]); |