summaryrefslogtreecommitdiff
path: root/libs/fsScan/src/FilesystemScanner.cc
diff options
context:
space:
mode:
authorgeronimo <geronimo013@gmx.de>2012-07-25 07:40:19 +0200
committergeronimo <geronimo013@gmx.de>2012-07-25 07:40:19 +0200
commit2d0b837e6c885383ae807ca793cbe91aa32de995 (patch)
tree739e6f89a09ad9566c3d6de2f69495ddc5f75a44 /libs/fsScan/src/FilesystemScanner.cc
parent774e09eef2d7761814e6f19fb462eb0fdc74f2d7 (diff)
downloadcmp-2d0b837e6c885383ae807ca793cbe91aa32de995.tar.gz
cmp-2d0b837e6c885383ae807ca793cbe91aa32de995.tar.bz2
need both, encoded and decoded urls at backend
Diffstat (limited to 'libs/fsScan/src/FilesystemScanner.cc')
-rw-r--r--libs/fsScan/src/FilesystemScanner.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/fsScan/src/FilesystemScanner.cc b/libs/fsScan/src/FilesystemScanner.cc
index 23b5074..cbe4b95 100644
--- a/libs/fsScan/src/FilesystemScanner.cc
+++ b/libs/fsScan/src/FilesystemScanner.cc
@@ -96,13 +96,13 @@ void cFilesystemScanner::Refresh()
}
}
-cAbstractMedia *cFilesystemScanner::FindMedia(const char* URI)
+cAbstractMedia *cFilesystemScanner::FindMedia(const char *Path)
{
cAbstractMedia *rv = NULL, *tmp;
for (size_t i=0; i < pool.size(); ++i) {
tmp = (cAbstractMedia *) pool[i];
- if (!strcmp(tmp->URI(), URI)) {
+ if (!strcmp(tmp->LogicalPath(), Path)) {
rv = tmp;
break;
}