jsonrpc: don't try to retrieve extra metadata for UPnP paths in Files.GetDirectory...
authormontellese <montellese@xbmc.org>
Sat, 24 Nov 2012 19:32:07 +0000 (20:32 +0100)
committermontellese <montellese@xbmc.org>
Sat, 24 Nov 2012 19:32:07 +0000 (20:32 +0100)
commita8e9c49a76fd346ba3e11ad8f91aa7316a3a15b3
tree7a07e19ad3a76e76459328943e05645a1133ef66
parentd63420e7b5a393b879c3719fbf8f3038896c1cc3
jsonrpc: don't try to retrieve extra metadata for UPnP paths in Files.GetDirectory/GetFileDetails (fixes #13595)

UPnP sources can't be added to the library and they most likely already
provide nay available metadata (especially when the UPnP server is another
XBMC instance). Therefore looking for additional metadata is useless.

Furthermore calling CDirectory::Exists() on an UPnP path seems to trigger a
bug in Platinum's caching behaviour.
xbmc/interfaces/json-rpc/FileOperations.cpp